Has anyone encountered the following issue, and if so were you able to resolve it?
Synopsis
Animator Parameters in the animator component (e.g. VelocityX, IsMoving, etc) do not appear to update - even while the animations themselves play.
System Details
I am using Unity 6000.0.29f1
Details
I was in the process of adding animations to my animator controller when I noticed that the values in the Animator Parameters panel were not changing - though the animations were playing.
My debugging steps were as follows.
-
I first rolled back to a previous script and removed the new animations and transitions. The issue persisted, even though it was set up precisely as it had been previously.
-
I then built a brand new test animator controller with one or two animations, and applied an old animator controller script (which had not been touched recently and had functioned properly - it was just obsolete). The issue persisted.
-
I then closed Unity and restarted. The issue persisted for both animator controllers.
-
I opened a different project entirely that was untouched and had functioned previously. The issue occurred in this project, as well.
At this point, I was and am convinced that this is an engine level problem.
So, I did the standard stuff: cleared cache and restarted my computer entirely.
The issue persists.
Further Notes
Note that this is not “game breaking” in that the animations do play, but it is somewhat development breaking as it seeing what variables fire and when is critical to debugging and troubleshooting.
I went ahead and backed up my scripts - but just scripts to ensure that nothing that caused a system error is included in the back up.
Has anyone encountered this before, and if so - how did you fix it?
I’d really rather avoid re-installing unity and rebuilding my game if that is possible. I have sufficient back ups to do this if necessary - but I’m assuming there’s a better way to resolve the issue.
Thanks for your help!