Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.4f1
2020.2
Issue ID
1248583
Regression
No
[Play] Humanoid is tilted backward when AnimatorControllerPlayable and AnimationClipPlayable are connected in LayerMixerPlayable
How to reproduce:
1. Open user's attached "AnimancerDev.zip" project
2. Open "Scene" Scene
3. Enter Play Mode
4. Observe the Game view
Expected result: Humanoid on the left and on the right is animated walking and preparing to fire, having AnimatorControllerPlayable for the first layer and AnimationClipPlayable for the second layer in AnimationLayerMixerPlayable, makes no difference
Actual result: Humanoid on the left is animated as intended (AnimatorClipPlayable is used for both layers), but the character on the right is tilted backward (AnimatorControllerPlayable is used for the first layer and AnimationClipPlayable is used for the second layer in AnimationLayerMixerPlayable)
Reproducible with: 2018.4.24f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Notes:
- The issue is not reproducible if AnimatorControllerPlayable is used for both layers in AnimationLayerMixerPlayable
- The issue is reproducible in the Editor and on Windows, Mac build
- Attached a gif of how the character on the right is tilted
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
- "Curve" window workspace doesn't update the scale to match the selected curve preset unless reopened
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
Resolution Note:
The AnimatorControllerPlayable is indeed an unexpected behavior, but we cannot change this without breaking many existing projects. The reason the tilting exist is because for humanoids, we apply a Mass center retargeting for single layer animator controller with humanoid.
A simple workaround is to simply add an empty layer to the animator controller