- Home /
video player works in editor but not in build
Hello, i'm trying to play an mp4 using unity, i'm using the code provided here : https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html
it works in the editor. but when i try to build it to any of my 3 devices (samsung galaxy, windows os, or oculus go), the video does not work. on my samsung the screen stays black for the duration of the movie, and on windows/oculus go the video just doesn't play and the starting scene is all i can see.
anyone know what could cause this to happen? i've tried different encodings, and different video formats (mp4).
if i can't get this working, does anyone know a better way to display videos? maybe just load the raw data and play it on textures as a sequence? there's no sound.
Your answer
Follow this Question
Related Questions
Cross Platform Video Streaming? 0 Answers
Add a video to Unity 1 Answer
What is causing Unity to crash when importing a mp4? 0 Answers
Windows standalone build fails to load VideoPlayer 0 Answers
MP4 converted from M4V crashes Unity 4 Answers