• EditorBugs
  • SpineAnimationTrack not showing animations in Godot

Hi,

I am trying to link Spine animations with the animation player. I followed the godot-spine tutorial but the animations are not showing up on the SpineSprite Track 0.

I added the SpineAnimationTrack as a child of the SpineSprite like in the tutorial, and in the animation preview of the SpineSprite I can see all the animations are there, it just doesn't work with the SpineAnimationTrack somehow.

Can someone help please?


    Related Discussions
    ...

    AnonymousAd To clarify things, I have prepared a video that demonstrates the steps to animate Spine skeletons in AnimationPlayer first, so please take a look at it here:

    From your third screenshot, it appears that adding the SpineSprite track to the AnimationPlayer animation has been completed, but the confusing part appears to be the next step: after right-clicking on the SpineSprite track and adding a key, you can select that key to set up the animation in the Inspector dock. Check to see if you have selected another item instead of the key on the SpineSprite track.

      Misaki Hi I did get to that part, but the animations are not appearing either.

      I assumed that it was because the SpineSprite Track 0 is not showing them that's why I showed a screenshot of that instead.

      Misaki Hi I also realised I get these errors every time I create a SpineAnimationTrack:

      Godot Engine v4.3.stable.custom_build.77dcf97d8 (2024-08-14 23:00:16 UTC) - https://godotengine.org
      OpenGL API 3.3.0 NVIDIA 566.07 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3060 Ti

      --- Debugging process stopped ---
      Invalid animation name: 'Animations -45/-45 attack_looped'.
      Invalid animation name: 'Animations -45/-45 attack'.
      Invalid animation name: 'Animations -45/-45 hit_looped'.
      Invalid animation name: 'Animations -45/-45 hit'.
      Invalid animation name: 'Animations -45/-45 idle_looped'.
      Invalid animation name: 'Animations -45/-45 idle'.
      Invalid animation name: 'Animations -45/-45 possession_looped'.
      Invalid animation name: 'Animations -45/-45 possession'.
      Invalid animation name: 'Animations -45/-45 walk_looped'.
      Invalid animation name: 'Animations -45/-45 walk'.
      Invalid animation name: 'Animations -45/-45 walk bone_looped'.
      Invalid animation name: 'Animations -45/-45 walk bone'.
      Invalid animation name: 'Animations -45/-45 walk stone_looped'.
      Invalid animation name: 'Animations -45/-45 walk stone'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Attack_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Attack'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Hit_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Hit'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Idle_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Idle'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk bone_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk bone'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk stone_looped'.
      Invalid animation name: 'Animations 45/Not Possessed/45 Walk stone'.
      Invalid animation name: 'Animations 45/Possessed/45 Attack Possesed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Attack Possesed'.
      Invalid animation name: 'Animations 45/Possessed/45 Hit Possessed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Hit Possessed'.
      Invalid animation name: 'Animations 45/Possessed/45 Idle Possessed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Idle Possessed'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Bone Possessed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Bone Possessed'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Possessed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Possessed'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Stone Possessed_looped'.
      Invalid animation name: 'Animations 45/Possessed/45 Walk Stone Possessed'.
      Invalid animation name: 'Animations 45/45 Possession_looped'.
      Invalid animation name: 'Animations 45/45 Possession'.
      Invalid animation name: 'Animations Back/Attack No Armor_looped'.
      Invalid animation name: 'Animations Back/Attack No Armor'.
      Invalid animation name: 'Animations Back/Hit No Armor_looped'.
      Invalid animation name: 'Animations Back/Hit No Armor'.
      Invalid animation name: 'Animations Back/Possession_looped'.
      Invalid animation name: 'Animations Back/Possession'.
      Invalid animation name: 'Animations Back/Walk No Armor_looped'.
      Invalid animation name: 'Animations Back/Walk No Armor'.
      Invalid animation name: 'Animations Back/Walk No Armor Bone_looped'.
      Invalid animation name: 'Animations Back/Walk No Armor Bone'.
      Invalid animation name: 'Animations Back/Walk No Armor Stone_looped'.
      Invalid animation name: 'Animations Back/Walk No Armor Stone'.
      Invalid animation name: 'Animations Front/extra/dying_looped'.
      Invalid animation name: 'Animations Front/extra/dying'.
      Invalid animation name: 'Animations Front/Not possessed/attack no possession_looped'.
      Invalid animation name: 'Animations Front/Not possessed/attack no possession'.
      Invalid animation name: 'Animations Front/Not possessed/bones no possession_looped'.
      Invalid animation name: 'Animations Front/Not possessed/bones no possession'.
      Invalid animation name: 'Animations Front/Not possessed/hurt not possessed_looped'.
      Invalid animation name: 'Animations Front/Not possessed/hurt not possessed'.
      Invalid animation name: 'Animations Front/Not possessed/idle not possessed_looped'.
      Invalid animation name: 'Animations Front/Not possessed/idle not possessed'.
      Invalid animation name: 'Animations Front/Not possessed/stone not possessed_looped'.
      Invalid animation name: 'Animations Front/Not possessed/stone not possessed'.
      Invalid animation name: 'Animations Front/Not possessed/walk not possessed_looped'.
      Invalid animation name: 'Animations Front/Not possessed/walk not possessed'.
      Invalid animation name: 'Animations Front/Possessed/attack possession_looped'.
      Invalid animation name: 'Animations Front/Possessed/attack possession'.
      Invalid animation name: 'Animations Front/Possessed/bones possessed_looped'.
      Invalid animation name: 'Animations Front/Possessed/bones possessed'.
      Invalid animation name: 'Animations Front/Possessed/hurt possessed no armor_looped'.
      Invalid animation name: 'Animations Front/Possessed/hurt possessed no armor'.
      Invalid animation name: 'Animations Front/Possessed/idle possessed_looped'.
      Invalid animation name: 'Animations Front/Possessed/idle possessed'.
      Invalid animation name: 'Animations Front/Possessed/stone possessed_looped'.
      Invalid animation name: 'Animations Front/Possessed/stone possessed'.
      Invalid animation name: 'Animations Front/Possessed/walk possessed_looped'.
      Invalid animation name: 'Animations Front/Possessed/walk possessed'.
      Invalid animation name: 'Animations Front/possession_looped'.
      Invalid animation name: 'Animations Front/possession'.
      Invalid animation name: 'Animations Side/Not Possessed/Attack no possessed_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Attack no possessed'.
      Invalid animation name: 'Animations Side/Not Possessed/Hurt no possessed_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Hurt no possessed'.
      Invalid animation name: 'Animations Side/Not Possessed/Idle no possessed_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Idle no possessed'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed Bone_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed Bone'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed Stone_looped'.
      Invalid animation name: 'Animations Side/Not Possessed/Walk no possessed Stone'.
      Invalid animation name: 'Animations Side/Possessed/Attack Possessed_looped'.
      Invalid animation name: 'Animations Side/Possessed/Attack Possessed'.
      Invalid animation name: 'Animations Side/Possessed/Hurt Possessed_looped'.
      Invalid animation name: 'Animations Side/Possessed/Hurt Possessed'.
      Invalid animation name: 'Animations Side/Possessed/Idle Possessed_looped'.
      Invalid animation name: 'Animations Side/Possessed/Idle Possessed'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed_looped'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed Bone_looped'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed Bone'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed Stone_looped'.
      Invalid animation name: 'Animations Side/Possessed/Walk Possessed Stone'.
      Invalid animation name: 'Animations Side/Possession_looped'.
      Invalid animation name: 'Animations Side/Possession'.
      Create Node

      Ouch, you might have stumbled over a bug / feature of Godot's animation system. It has special rules for animation names, and I think forward slashes / are not allowed. Can you try renaming one of the animations to not contain /?

        Mario That worked! The only thing is I never used "/" in the name, the "/" are there because I organised the spine project by using folders. Is there a way of keeping the folders without them affecting Godot or is not using folders the only way?

          AnonymousAd Sorry, the current version does not fix this known bug, so folders for animation cannot be used. An issue ticket for this problem is here: EsotericSoftware/spine-runtimes2460
          You can subscribe to this issue ticket to receive notifications when there is any progress on this issue.