• Editor
  • Not playing animations in additional Tracks

Hello everyone!
I'm writing to you because I've been having issues with a feature in Spine, and I don't understand why it's happening. Maybe there's something wrong with my workflow, and I'm not seeing it.

I have an "idle" animation playing on track 0 and a facial animation on track 1, which is all working fine. The problem is that I want two other conditional animations to play on tracks 2 and 3, but neither of them is working. In fact, they are being called correctly from Unity but do not appear. They also don't appear if I try to play them on tracks 0 or 1. There must be something going wrong with the Spine setup. Can someone provide guidance on what I should look into?

These conditional animations are elements that appear and disappear, by the way.

Thanks in advance to everyone!

PS: These are the three circunstancial states of one of the animations (track 2)

And here it is the track 3 animation, related to previous posts I made here:

Each timeline starts activating the needed skin and they are not activated or deactivated in any other keyframe of any other animation.

  • Nate a répondu à ça.
    Related Discussions
    ...

    Do animations for tracks 2 and 3 play correctly in the Spine editor? Do they work as expected on tracks 2 and 3 in the Preview view?
    http://esotericsoftware.com/spine-preview

    It's somewhat strange to see a skin placeholder named Enabled. It makes me question how you've set things up.

    Yimec Each timeline starts activating the needed skin and they are not activated or deactivated in any other keyframe of any other animation.

    Seems you have a little terminology mix up. Timelines don't activate skins. Attachments (or a skin placeholder) can be hidden or shown by an animation, is that what you mean?

      • Modifié

      Nate

      It's somewhat strange to see a skin placeholder named Enabled. It makes me question how you've set things up.

      This is because I used to have it wrong with an empty skin called disabled. The "Enabled" tag survived the situation.

      Seems you have a little terminology mix up. Timelines don't activate skins. Attachments (or a skin placeholder) can be hidden or shown by an animation, is that what you mean?

      Yes, I meant that in the beggining of each animation I changed the active placeholder or activated it.

      I will try with the Preview view, I had no idea this was a thing. Thanks for your help!

      Edit:

      I tested stacking the animations in the proper track in the Preview view and all of them play properly.

      Edit 2:

      I solved it. The problem was I didn't set up the default skin in Unity Editor properly. My fault.

      Sorry for the inconvenience, I'm doing my best to learn as fast as I can.
      Thank you @Nate for your help again.

      No worries, glad you got it working!

      Yep, Preview is quite useful. There is also the Skeleton Viewer which is one step closer than Preview to the runtime implementation.