• Unity
  • SpineAnimationStateClip applied one frame later

Hi. I tried Unity Timeline feature and found a bug.
I created a timeline with SpineAnimationStateTrack and ActivationTrack .

  1. Activate skeleton object and play animation with SpineAnimationStateClip
  2. Inactivate skeleton object some frame.
  3. Activate skeleton object and play animation with SpineAnimationStateClip

When second animation played, skeleton object showed first animation's last frame pose.
I set mix duration to 0, but it had no effect.

Related Discussions
...

Thanks for reporting.

This has to do with the execution order of the code. If the animation system enables the GameObject after Update but before LateUpdate the previous pose will have persisted.

I’m away for the moment so I can’t check the right fix but we’ll get a solution for this soon.


This should fix it.
[unity] Fix AnimationStateClip first frame mesh.@41024db

The fix will be included in the next unitypackage update later today.

Thank you so much Pharan!