I attached a video clip ogv format to the VideoPlayer component and uses material override mode to display it. in the editor, the video plays fine and the isPlaying variable returns true. However when I build the project, the video does not play and the isPlaying variable returns false.
*Note this is done on the HTC vive if that makes any difference
Image of the built game and the log viewer to show that it is not working
I’m having this issue as well. Unity 5.6.0f3, using VideoPlayer component in Canvas with a linked ogv file (not streamassets/URL). Have tried many different settings on the video and all work fine in the editor but blank when in standalone build (x86). Also can’t seem to find file anywhere in data folder. Any ideas on what my next step should be?
Thanks for the update. I also tried this, and messing around with transcode options. I’m convinced that my code is the culprit. It bums me out that it works fine in editor mode though.
I converted from ogv to MP4 and it works. Which is stupid because i started using ogv for compatibility reasons in a prior build. Unity needs to get better at protecting against regression in production releases.
This VideoPlayer is really so-so. I’m using it on mobile. So it works in one Project perfectly fine. When I switch (same Unity Version 5.6.1f1) projects and use the SAME video… it doesn’t work. Encountered the same issues like you: a) black screen b) only first frame. Don’t know what’s going on.
Using a 360 Video in the same project… works perfectly fine.
I’m trying using Transcode, but all I see is “Not all platforms transcoded”. But I checked “Transcode” on all Platforms. Weird.
I have same issue for IOS 11, I tried setting transcode but no luck!!! I am using mp4 as well and no luck too!! What to do??? Not to mention this is in Unity 2018.1.6f1
I just build a game, which has 2 scene one with game and other with my intro video, in intro i created one canvas and attached game object to it ,PROBLEM is when i build and run game the game only shows splash screen i.e. made with unity and crashes… And when i build only with game scene it works perfectly fine …any solution over this