Hi there, at this point in the course, I wonder, when I hit the tab button and focus on the target, why don’t I return to the animation mode when I press the escape button? When I click the escape button, my character goes into a T pose and not back to its animation. This isn’t right, is it? I am receiving two warning messages.
Warning messages:
-
Animator.GotoState: State could not be found
-
Invalid Layer Index ‘-1’
When I check the Player in the PlayerRig, I see the Player(Animator) is attached to the Animator in the Player State Machine script.
Invalid Layer Index -1 takes me to the PlayerFreeLookState script on line 18. Here, I can’t see any real issues, so I think maybe, at this point, the character is meant to go back into a T pose once you press escape and that this T pose problem will be sorted in the later lesson or am I completely wrong and the character should return to its animation state?