I am fairly new to Unity and I hope someone can help. I am working on the Unity 3rd Person Combat & Traversal lessons. I am on lesson 33 Targeting Animations, the player animates outside of the Target state but remains in the idle anim after the tab is pressed when inside the target state. The player moves forward, back and strafes left and right but all with no animations playing. I am getting the following errors in the console.
Animator.GotoState: State could not be found
Invalid Layer Index ‘-1’
They both lead to the following line in the PlayTargetingState script,
I have refollowed the lessons again but have found nothing, please help