Hello everyone 🙂 ,
I'm working with unity and I'm having a problem when setting an animation: There's an actual bone's sprite that doesn't render.
In the spine editor I can totally see it working as it should, but when I play the animation on unity, it just doesn't appear.
This is the situation: I have a bone with "mouth_A" and another bone with "mouth_B". When "idle" is playing, "mouth_A" is visible but "mouth_B"'s alpha is set to 0. Exactly the opposite occurs when playing the "hurt" animation. As I said, I can see this OK in the editor, but on Unity, after playing "idle" and swapping to "hurt", I can see none of the mouths (however, if I play "hurt" first, I can see the mouth that should be showing). 😢
I can indeed see the mesh form of the sprite being rendered, but as I said, the sprite itself is rendererd with alpha 0.
Do I have to do anything special to swap between alphas on sprites or something like that?
I just managed to solve it by using
skeletonAnimation.skeleton.SetToSetupPose();
on the
Complete
event.
It seems the properties had to be reset to match the animation.