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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.