Unity Animation Controller index < m_BoolCount

Hey guys,

I started with modeling an easy 3D Character and wanted to use the Animation Controller. So far so good. I watched the mecanim tutorial and I used integer values but I just need to forward and back as well as idle.

Transitions:
Idle — WalkingState > 0.1 —> WalkForward
WalkForward — WalkingState < 0.1 —> Idle

Idle — WalkingState < -0.1 —> WalkBackward
WalkBackward — WalkingState > -0.1 → Idle

The only thing Unity tells me is:

index < m_BoolCount and no other concrete Exception or something like that.
In my script I just say SetFloat(“WalkingState”, Input.GetAxis(“Vertical”);
I can move backwards (sometimes) but mostly I just get the error above.

Do you know why this is happening?

Regards,
Matt

I think it is a bug with Unity.
You can make all conditions to the default state (Exit Time), and then change it to what you defined in the Parameter.

I got same problem with SmattyCore.
try to delete the Transitions arrow between two or more Animation clips, and create a new one. It would be works. Good luck!