The Animator.keepAnimatorControllerStateOnDisable field is not very discoverable in the Editor; the only way I noticed it was while looking at the fields of an Animator that could be modified via UnityEvents. Seems like if this field is serialized and publicly settable in code, that it should also have a checkbox in the Animator Inspector.
7 Likes
It actually shows up in debug mode, just not normally.
2 Likes
It is really important in resetting the state of gameobjects disabled by animations.
Is keepAnimatorControllerStateOnDisable Saving everything ? State and properties ?
And obviously it should not be in debug section and it should be set to True by default.
1 Like