Search Issue Tracker
By Design
Votes
0
Found in
2021.3.29f1
2022.3.7f1
2023.1.8f1
2023.2.0b4
Issue ID
UUM-45411
Regression
No
Animation Rigging pivoted target is not respected when parented to the character GameObject itself
Reproduction steps:
1. Open project “Animation-Rigging-Experiment.zip”
2. Open scene “Sample”
3. Enter Play Mode
4. Observe the character on the right (“Example 2 [Pivot Parented to Animator]\SWAT Guy” GameObject in the Hierarchy) through Game view
Expected result: the character updates its rig to look toward the “Target” GameObject (as the “Example 1 [Pivot not Parented]\SWAT Guy” GameObject on the left)
Actual result: the character doesn't update its rig to look toward the “Target” GameObject
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 11 (by the reporter)
Notes:
- Reproducible in Standalone Player
- The target for the character on the right is parented under a pivot transform and the pivot transform is parented under the character GameObject
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
Since the rotation values of the pivot game object are driven by a script, it means the animation stream must be updated in order to read from these new values when the pivot game object is nested in the animated hierarchy. Otherwise, the constraints will always read the default values unless that game object is animated by a clip or another constraint.
To fix your issue, simply add a `RigTransform` component to your pivot game object. This way, scene transforms will be read and fed through the stream for constraints to evaluate.
https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.3/manual/RiggingWorkflow.html#rig-transform