I'm putting in some pre-rendered cutscenes for my game, and for a few weeks I've been using a placeholder cutscene. Back (a Unity version or two ago) when I imported the placeholder, everything worked as expected. Now that I'm ready to put in the actual cutscenes, they will not import correctly. They show up in the project asset browser, and there's a Unity metadata file, but it's like it doesn't recognize that it's a video, and has no import settings and won't make a movie texture out of it. I've attached a picture so that you can see what I'm talking about. Solutions I've tried:
Render video in various formats (including .avi, .mov, .m4a, etc)
Run Unity as Administrator
Picture: My project assets browser with the "Cutscene Placeholder" imported correctly (from a while ago) and one of the final cutscenes called "SVVM_EndingCutscene1_v2" which does not show up as a movie texture.
Do you have the option to export it to an ogv ? That's what Unity does with video files, so if you do it yourself it might solve the issue.
Just tried converting to that, but same result. Unity still is not happy with it. But even if that had worked, it still doesn't explain the root problem. Thanks for the suggestion, though!
Yea it might be difficult to find the actual cause. I would try:
Create a new Unity project, import a video into there. Does it work? Move your project over (potentially part by part, to see what might have caused the issue).
Neither of these options actually explains anything, but definitely worth a try.
Answer by JC_SummitTech
Mar 23 at 03:09 PM
Assets put in the streaming assets folder won't be converted to ogv. I would guess your placeholders were in a different folder and were getting converted to ogv by unity.
You'll want to convert them externally if you want to place them in streaming assets.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
5 People are following this question.
Unable to Drag and Drop Folder/Assets into "Project" editor window.
TextureImporter settings not applied
Assets Blinking on Game Play
Cutscene not working???
Selected Mesh in inspector is missing name, the link to mesh in assets is also missing