Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1146399
Regression
No
[Animation] Overriding AnimatorController causes disposition on the model if done when transitioning
To reproduce:
1) Open the attached project and scene
2) Play it
3) Click 'C' and Spacebar simultaneously (might take a few times to reproduce)
Expected: The figure just crouches and stands
Actual: It sometimes pushes downwards some distance before returning back to default
Reproduced in 2018.3.0f2, 2019.2.0a12
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
The issue is caused by ApplyOverrides() being called during an interrupted transition. Interrupted transitions store the current pose and use that for blending to the new state. If ApplyOverrides() is called, the bindings are deallocated and reallocated and the pose is no longer available.
OverrideControllers were never intended to be done on-the-fly at arbitrary points in execution, and there is no way to guarantee results if clips (and therefore bindings) are changed during an interrupted transition.
Users will need to work around this in one of the following ways:
- Avoid calling ApplyOverrides() during a transition
- Disable interrupted transitions
- Force the animator to a specific, known state when calling ApplyOverrides()