Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2020.1
2020.1.3f1
2020.2
Issue ID
1273247
Regression
No
Hips' Local Rotation gets overridden when Animator.SetBoneLocalRotation is set on OnAnimatorIK()
How to reproduce:
1. Open the user's attached project("Bug test.zip")
2. In the Hierarchy click on "DefaultMale_Humanoid"
3. Enter Play mode
4. In the inspector observe the Hips' rotation not stay 0 as intended
Expected results: Animator.SetBoneLocalRotation sets Hips' rotation in OnAnimatorIK() and it remains that way
Actual results: The set Local Rotation gets overridden and moves with the Animation
Reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.7f1, 2020.2.0b4
Note: Only reproduces with the Hip bone
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
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
Resolution Note:
n the Animator, there is a retargeting pass for humanoid that is evaluated after OnAnimatorIK to resolve the new bone positions.
At this point, the hips get overridden.
While it's not the ideal behaviour, but it’s too risky to change this behaviour without impacting a lot of our users ( breaking backward compatibility)