The SkeletonMecanim does not properly handle animation state's normalizedTime when it goes negative.
The animation freezes on the first animation frame.
This behavior can be viewed on this video:
And can be tested on the attached test project.
The SkeletonMecanim does not properly handle animation state's normalizedTime when it goes negative.
The animation freezes on the first animation frame.
This behavior can be viewed on this video:
And can be tested on the attached test project.
Thanks very much for reporting and for the clear reproduction package!
We have fixed the issue, a new 3.8 unitypackage can be downloaded here as usual:
Spine Unity Download: Download
Issue ticket for reference purposes:
https://github.com/EsotericSoftware/spine-runtimes/issues/1790
Sorry for the late reply. The fix for this bug added a regression.
Please test again the provided scene with the fix and change the Animator's "New State" Speed value (not the Multiplier) to a negative value (i.e. -1).
The animation should go backwards with a positive multiplier (change-able from the Game View) and forwards for negative multiplier.
I have created a follow-up issue:
https://github.com/EsotericSoftware/spine-runtimes/issues/1810
Thanks for reporting and sorry for the troubles! We will let you know once the issue is fixed.
A bugfix has just been released. A new 3.8 spine-unity unitypackage can be downloaded here as usual:
Spine Unity Download
Thanks again for reporting!