UnityTimelineEvents icon indicating copy to clipboard operation
UnityTimelineEvents copied to clipboard

Events don't fire when using Manual UpdateMethod

Open GinoF opened this issue 7 years ago • 1 comments

Events don't fire when PlayableDirector's UpdateMethod is set to Manual. I previously had the events firing properly. I then added a playback speed modifier, and couldn't figure out why the were no longer firing. Setting UpdateMethod back to GameTime fixed the issue.

I haven't dug into your code to figure out why this is the case, but I'd figure I'd report the issue.

P.S. Keep up the good work, this is super handy!

GinoF avatar Nov 30 '18 21:11 GinoF

I've put in a temp fix in the prototype I'm working on, not sure if this will have any major negative effects, but it'll do for my purposes.

I've edited TimelineEventBehaviour.OnBehaviourPlay I've just removed the following if statement: if ((info.frameId == 0) || (info.deltaTime > 0))

GinoF avatar Nov 30 '18 22:11 GinoF