Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.39f1
2022.3.33f1
6000.0.6f1
Issue ID
UUM-73640
Regression
No
Animation Rig gets mangled when nested AnimationLayerMixerPlayable is used
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/LayerMixerIssue/Scenes/Spawner” Scene
3. Enter Play Mode
4. In the Game View, press the “React Timeline“ button
5. Observe the character
Expected result: The character’s Rig remains intact
Actual result: The character’s Rig is mangled/deformed
Reproducible with: 2021.3.39f1, 2022.3.33f1, 6000.0.6f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
This bug is coming from the way AnimationLayerMixer is implemented. AnimationLayerMixerPlayable is not meant to be used in a nested context.
An additive layer will set its input additive flag which will pull an additive pose from the AnimationClipPlayable.
Any subsequent AnimationLayerMixer if its input is set to override will reset this flag and pull a normal pose instead that will be applied as an additive pose which is why the rig appears broken.
Unfortunately changing this behavior is too risky as it would enable systems that do not support additive animation (like Timeline) to process additive animation and lead to more issues and possible regressions.
As a workaround An AnimationScriptPlayable with a custom IAnimationJob can be used to substract a pose input from the Timeline output so that the result is an additive animation applied as such.