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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
This is a duplicate of issue #1111050