diff --git a/Assets/Scripts/Actions/TimeLineAction.cs b/Assets/Scripts/Actions/TimeLineAction.cs index 2b0c293d..1ba467fd 100644 --- a/Assets/Scripts/Actions/TimeLineAction.cs +++ b/Assets/Scripts/Actions/TimeLineAction.cs @@ -109,6 +109,10 @@ public class TimeLineAction : IAction { curSpeed = 1; } + if (!play.playableGraph.IsValid()) + { + play.RebuildGraph(); + } play.playableGraph.GetRootPlayable(0).SetSpeed(curSpeed); play.Play();