Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.0a4
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1112616
Regression
Yes
The FBX model animation jumps in different Scene places when Root Motion disabled/enabled after frame update
How to reproduce:
1. Open attached "case_1112616-rootMotion" project
2. Play the Scene
Expected result: The object moves in one direction
Actual result: The object animation jumps in different Scene places
Reproducible: 2018.3.2f1, 2019.1.0a14, 2019.2.0a1
Not reproducible: 2017.3.0a1, 2017.4.18f1, 2018.2.20f1, 2018.3.0a3
-
Resolution Note (2018.3.X):
Root Motion application has changed in 2018.3 to make it more coherent.
To reproduce the behaviour of Root curves (Root T and Root Q) with ApplyRootMotion OFF in 2018.3 and following, please turn on Apply Root Motion, and implement OnAnimatorMove like this:public class RootMotion : MonoBehaviour {
public bool enableRootMotion;
private Animator animator;private void OnAnimatorMove()
{
if (animator == null)
animator = GetComponent<Animator>();
if (enableRootMotion)
{
animator.ApplyBuiltinRootMotion();
}
}
}
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
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
This is a duplicate of issue #1111050