Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.1.1
1.2.0
Issue ID
ARB-16
Regression
No
The model does not follow the aim when Rig is enabled
To reproduce:
1. Open the project “Test”
2. Enter Play mode
3. Toggle “Enable Rig” on
4. Move the Slider to any extremum
Expected result: The model follows the sphere (aim) always when Rig is enabled
Actual result: The model follows the sphere (aim) only when the Slider is in the middle
Reproducible with: 1.1.1 (2020.3.37f1, 2021.3.6f1, 2022.1.10f1), 1.2.0 (2022.2.0b1, 2023.1.0a2)
Reproduced on: macOS Monterey 12.4 (Intel)
Notes:
- Doubled negative rotation of the root animation rotation is added when using 2 or more rotation-kind constraints
- The sphere object (aim) is at Model → Rig 1 → aim
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
- Constant buffer is not properly updated for the depth pass when rendering a custom mesh on DirectX12
- AfterRendering Event of the URP RendererFeatures renders with inverted Y axis
- CancellationTokenSource return a wrong value when the Token is created in a WebGL build
- Light Explorer window can't be scrolled horizontally by using a trackpad gesture when there is no vertical scrollbar
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
Resolution Note:
After investigating this issue, we have found out that the aim constraint is evaluated before a rotation constraint. When evaluated, the rotation constraint will move the torso causing the aim to change.
To fix this, just reorder the aim constraint and the rotation constraint in the game object hierarchy. Refer to this section in the documentation for more details:
https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.2/manual/RiggingWorkflow.html#rig-component