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
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
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.