Mecanim - (MultiLayer) - Animation State issues

So i’ve setup 3 layers,

base

  • legs
  • torso

All of my code for layer 0 works fine when checking the “!a.IsInTransition(0)” & comparing the st.IsTag value.
The code snippet below is almost a duplicate of the same code for layer 0, however it never gets into the “Attack1” section and the character continuously swings.

if(!a.IsInTransition(2))
{
      if(st.IsTag("Attack1"))
      {
          UpdateAnimations("Attack1", false);
      }
}

It seems I cannot grab any tags for this layer, although they exist. The layer count is show correctly as 3 also.

Never mind I figured out my answer as I wrote that last list, I am stupid.

Never ran st = a.GetCurrentAnimatorStateInfo(0); for the next layer.