Hello, I updated from slate v2.1.5 to v2.2.1. I found that in the Play method of Cutscene, there was originally a code
Sample();//immediately update once now instead of waiting LaterUpdate, FixedUpdate etc.
Changed to UpdateCutscene(Time.deltaTime);//immediately update once now instead of waiting LaterUpdate, FixedUpdate etc.
But this will cause currentTime += deltaTime before Sample() starts.
The TriggerActionTask event I set at frame 0 will be executed when the Cutscene is played for the first time. But if the playback is halfway through and then played again after stopping, the event of frame 0 will not be executed.
Could you please check if this is a bug?
Hello and sorry for the late reply!
I confirm that this change indeed creates this bug (while trying to solve another unrelated very edge-case). Please change the code there to be like in the previous version calling Sample() instead. This will of course be fixed in the next version as well.
Thank you for letting me know!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.