- Home /
Question by
hlwalker · Jan 28, 2016 at 01:22 PM ·
videotexturesvideotexturevideo streaming
MovieTexture.duration is giving me the wrong time.
I am streaming a movie (.ogv) from the StreamingAssets folder in Unity and when I get the duration (after I play the texture), it gives me a really wonky number like 701 seconds instead of the 45 seconds that is the correct runtime of the movie.
Is this just a metadata issue that I have to figure out how to change that? or does that data not get loaded in first when you're streaming and I'm getting some random junk number? Please help!
Comment
@hlwalker I also got the same problem, have you solved this ? Could you share the way you solved it? Thank you .