Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug playable.SetTime(0) does nothing

Discussion in 'Timeline' started by INeatFreak, Jun 20, 2022.

  1. INeatFreak


    Sep 12, 2018
    Setting director time though playable reference provided at ProcessFrame method on a script that derives from PlayableBehaviour class doesn't work for some reason. I've found an fix by getting access to the director

    director = (playable.GetGraph().GetResolver() as PlayableDirector)
    director.time = 1

    but I'm sure this is not how it was intended to be done.

    I'm using version 2020.3.1f0 and Timeline 1.6.3 package.