mLocomotion = GetComponent<UltimateCharacterLocomotion>();
mLocomotion.enabled = false; =>It's Ok
then call:
mLocomotion.enabled = true; =>sometimes it gives the following error:
Error: The animator is not leaving a transition. Ensure your Animator Controller does not have any infinite loops.
(error in file AnimatorMonitor, line 288)
I used ThirdPersonController supplied by Opsive as a my AnimatorController. So i'm sure the Animator Controller does not have any infinite loops.
Do You have any idea ?
mLocomotion.enabled = false; =>It's Ok
then call:
mLocomotion.enabled = true; =>sometimes it gives the following error:
Error: The animator is not leaving a transition. Ensure your Animator Controller does not have any infinite loops.
(error in file AnimatorMonitor, line 288)
I used ThirdPersonController supplied by Opsive as a my AnimatorController. So i'm sure the Animator Controller does not have any infinite loops.
Do You have any idea ?