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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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