Search Issue Tracker
By Design
Votes
2
Found in
2018.3.0a4
2018.3.0f2
2019.1.0a1
Issue ID
1111050
Regression
Yes
RootNode is ignored by Animator when animating a Game Object in Play mode
To reproduce:
1. Import user's attached project
3. Enter Play mode
Expected: animation loop is played with root node not moving
Actual: animation loop is played with root node being ignored
Reproduced in: 2018.3.0a4 (09d093d4c7ae), 2018.3.1f1, 2019.1.0a12
Not reproduced in: 2017.4.17f1, 2018.2.20f1, 2018.3.0a3
-
Hazneliel
Jan 02, 2019 00:05
Is this happening with the timeline? I reported a similar issue but when using a timeline that could be related.
See https://forum.unity.com/threads/unity-2018-3-timeline-root-motion-bug.599263/#post-4051543
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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();
}
}
}