martinr

A track is playing with two track entries, A (manipulating scale of a bone) and B (manipulating transform of a bone). The transition from A -> B has a mix duration of 1 second.
During the mixing (B.mixTime > 0) between A and B, the timeScale of B is set to 0.
After a call to AnimationState.update, the timeScale of B is again set to 1.

Playing the track to end should result in a state where the transform is as B specifies, and the scale is back in the setup pose. Instead of that, the scale is as it was the last frame that it was applied by A.

---

Made a test case for you:

https://github.com/smaren/spine-runtimes/blob/timescale-0-bug/spine-ts/webgl/demos/timescalebug.js
martinr
Posts: 17

badlogic

Thanks for reporting and especially the reproduction case. I have created an issue here [ts] time scale 0 mixing bug · #1194
User avatar
badlogic

Mario
Posts: 1469

badlogic

This should be fixed now. Please make sure to read the implications of the fix for using timeScale=0 here [ts] time scale 0 mixing bug · #1194

Thanks for reporting!
User avatar
badlogic

Mario
Posts: 1469


Return to Bugs