Hello and thank you for your time,
I am animating my character through code (not mecanim).
There are several ways to reproduce this pop. First, set up some tracks. We have:
- Track 0: Body
- Track 1: Face
- Track 2: Eyes
- Track 3: Mouth
- Track 4: Override animations, which take over by sliding this track's alpha from 0 to 1 and then from 1 to 0.
The "pop" is actually the skeleton jerking to T-pose. You can reproduce the pop in a few ways:
Calling an override animation on track 4. Note the T-pose pop when the override animation is called.
Call:
skeletonAnimation.AnimationState.SetEmptyAnimation([ANY TRACK], 0f)
Use a mix duration of 0 seconds. This will trigger a pop even if called on a track that has no active animation on it.
- Call:
skeletonAnimation.AnimationState.ClearTrack([ANY TRACK])
This will trigger a pop even if called on a track that has no active animation on it.
The issues above are difficult for us because we have no way to clear all of the keys from an animation once that animation has played. Unless we are 100% perfect at clearing each key in Spine, those keys will linger and interfere with subsequent animations.
I am very much so looking forward to your help. Thank you in advance. I really appreciate any assistance with these bugs.
All the best,
Atley