Search Issue Tracker
By Design
By Design in 2023.2.X
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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
Resolution Note (2023.2.X):
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