Mecanim Animator states out of sync with editor or game.

I setuped a simple animator
Rig flagged as Generic and i selected a root bone from my model
I then added a couple of 10 frames animations and a couple of 1 frame anim loop.

When i play them in the Animator (baselayer), the states switch as intended using parameters i setuped in my script, but in the game, AND in the editor viewport, i see no animation playing. It is like the animator and the scene are out of sync.

I can get it to work by check and unchecki:face_with_spiral_eyes::rage:ng a box somewhere in the animator window (atomic, or solo, or mute) while the game is running.

when i put back the checked box the way it was, it reset my animator tio the default state and now i see the animations happening in the viewport and in game.

what should i do to fix that ? I searched everywhere and nobody seems to have that problem, yet, it happened to me even on the Avatar of the Mecanim tutorial.

any script funtion that i could use to force reset my animator or something ??

I’ve not seen the same thing before, but it may be worth closing and re-opening Unity as sometimes the Animator can get stuck and stop updating properly.

i did and it actually works, once.
After that it’s not updating again. I found that i can also get it to work correctly while the game is running by disabling and reenabling the gameobject.

at this point i think i will stop sing animator or try to enable and disable my gameobject by script… which is kind of a hack …