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 Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
- Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
- Editor is not capitalised consistently in Preferences window
- [Linux] “Restore Defaults” warning window appears behind Profiler Modules dropdown
- [iOS] Time.deltaTime is switching between 9.998583E-06 and approximately 0.01 seconds
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.