The version we're using is 4.2.43.
For example, this is the idle animation of our character. The "spine" bone only changes its position, while the "ik-foot-l" & "ik-foot-r" don't change anything though they all have corresponding keyframes in this animation.

However, when I called Skeleton.AnimationState.SetAnimation(...)
in Unity to change it into a more exaggerated animation then switching back to this idle one, I found that the transforms of these bones were not correctly set back to the keyed transform, resulting in the character's body being bent.
What can I do to fix this? Thank you for your kindness.