Search Issue Tracker
By Design
Votes
1
Found in
2020.3
2021.1
2021.1.3f1
Issue ID
1343299
Regression
No
Animation Rigging weights are reset when Playable Graph is changed
Reproduction steps:
1. Open user attached Project
2. Enter Play Mode.
3. Select Animancer > DefaultHumanoid > Rig in the Hierarchy
4. Change the Weight in the Inspector
5. Click Play Sequence in the Game View
Expected result: The Rig Weight remains the changed value
Actual result: The Rig Weight is reset to 1
Reproducible with: 2020.3.13f1, 2021.1.14f1,
Could not test with: 2019.4 (Compilation errors), 2021.2, 2022.1 (Animation breaks)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
As previously explained in resolution notes for 1232130, the Animator rebinds properties and restores default values whenever the PlayableGraph is modified. For Animation Rigging and Animation C# Jobs, it means any property or transform that is driven by custom animation nodes (effector position, rig weight) will also be reset to default values whether they are animated or not. This is not something we will change within the current Animator system.
If you know some operations will modify the PlayableGraph, you could manually call Rebind on the Animator to recalculate the animation bindings right away, and then re-apply your cache of properties afterwards.