Search Unity

VideoPlayer code won't do frameCount or frame

Discussion in 'Editor & General Support' started by jasoncbrock, Dec 11, 2021.

  1. jasoncbrock

    jasoncbrock

    Joined:
    Jun 15, 2021
    Posts:
    4
    Last edited: Dec 11, 2021
  2. travelsound84

    travelsound84

    Joined:
    Jan 15, 2014
    Posts:
    34
    You might want to wait for VideoPlayer.isPrepared to be true. I remember I had issues getting the frameCount because of that.