Search Unity

MovieTexture always returns duration -1

Discussion in 'Scripting' started by Mish, Jun 30, 2015.

  1. Mish

    Mish

    Joined:
    Apr 23, 2010
    Posts:
    96
    Suddenly after upgrading to Unity 5, I cant seem to get the duration from the MovieTextures.
    The duration is suppose to be set after the movie has started playing, however for the full duration of the movie playback it keeps returning -1. Any ideas?