Mecanim animation position not working

I recently upgraded a project from 4.6.5 to 5.1.0. Using Mecanim, I was setting the position of a sprite in an animation. After the upgrade, the position of the sprite no longer updates. I threw Scale into the mix to see if it was functioning and scale does work. Nothing seems to effect the position via mecanim.

Perhaps some helpful images to explain:

As you may be able to see, I have a controller on Julian. I then have a separate controller on his eyes. This separate controller allows me to blend his eyes sprites and positions (used to) based on if he’s facing forward or walking in a specific direction. The sprites correctly update.

I tested Position changes of the root animator, Julian, and that does correctly update. I then confirmed that no other animation was effecting the Eyes layer.

I couldn’t find this listed in the forums as a known bug. Is it? Is there a solution to make this method work as it did (which I assume was correctly applied previously because it worked).

Hi foylenman,

We are not aware of this issue, could you try to create a new animation clip on a another character with no other component on your character to make sure that there is not something else that could interfer?

Lot of trial and error (and building additional examples from scratch) lead me to determine the resolve was to uncheck “Apply Root Motion” on all child Animators.

Apparently this isn’t an issue in 4.6. But solved. :slight_smile:

Thanks