Hey,
Thanks for bringing this into my attention and very sorry for the late reply, but somehow I missed your post.
The reason this is happening is because the OnEnter of an action clip is called after the time of the cutscene is already processed by deltaTime, and since deltaTime is variant this is also why this different is variant as well.
The best way to work around this, would be to change the PauseCutscene.cs clip to the following code:
1
2
3
4
5
6
if(UnityEngine.Application.isPlaying){
root.Pause();
root.Sample(this.startTime);
}
Aparently, this will snap back and sample the cutscene time at the exact time of the action clip start time. 🙂
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.