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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.