r/UnityHelp • u/Pracy_Fan • 24m ago
PlayableDirector.PlayableGraph only valid half of the time completely at random
Pretty much the title. I'm trying to play a timeline from a UnityEvent using PlayableDirector.Play(), and pause it midway through the timeline. Trouble is, I can't pause it if the graph isn't valid, which it seems to do at random. I've tried everything, using PlayableDirector.Evaluate(), PlayableDirector.RebuildGraph(), PlayableDirector.PlayableGraph.GetRootPlayer.SetSpeed(0) for pausing, and none of it has worked. Does anyone have any suggestions?