This looks like something different. I will split the thread.
What version of the controller are you using? The AnimatorMotion class is serialized with Unity's serializer so you could look at the asset file in a text editor to see if the changes persisted.