reisnersteve
New member
Hey!
I recently set up the character controller. But footsteps don't want to work. I am clearly doing something wrong. This is the error I get:
When changing the footstep mode to fixed interval the same thing happens:
What am I doing wrong?
I recently set up the character controller. But footsteps don't want to work. I am clearly doing something wrong. This is the error I get:
Code:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <ed969b0e627d471da4848289f9c322df>:0)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.GroupFootStep () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:413)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.DetectCameraBob () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:401)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.FixedUpdate () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:344)
When changing the footstep mode to fixed interval the same thing happens:
Code:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <ed969b0e627d471da4848289f9c322df>:0)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.GroupFootStep () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:413)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.UpdateFixedInterval () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:388)
Opsive.UltimateCharacterController.Character.CharacterFootEffects.FixedUpdate () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterFootEffects.cs:341)
What am I doing wrong?