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
- [WebGL][Android] Corrupt header when connecting via IP
- Editor and Android Player hangs/freezes when repeatedly Loading/Unloading AssetBundle in Vulkan
- Selecting a Material for HDRP Decal Projector in the Inspector window spams errors in the Console
- Expanded Asset Preview Box moves/hides when creating new Asset in Project window
- Player crashes on Meta Quest with "/apex/com.android/runtime/lib64/bionic/libc.so" when using OpenXR Plugin in a specific project
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