Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2019.4
2020.2
2020.2.6f1
2021.1
2021.2
Issue ID
1317468
Regression
No
[Animation] GameObject stops rotating when Animator component is disabled and then re-enabled
Steps to reproduce:
1. Download and open the project “AnimatorBug.zip”
2. Open SampleScene
3. Enter Play mode
4. Select “Drop_Ship_Bur_Mesh” GameObject from the Hierarchy window
5. Disable the Animator component in the Inspector window
6. Notice that the GameObject "joint_Turret_Rotation" continues to rotate
7. Re-enable the Animator component
Expected Result: The turret GameObject "joint_Turret_Rotation" rotates and plays the animation as before
Actual Result: The turret GameObject "joint_Turret_Rotation" plays the animation but does not rotate
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b10, 2021.2.0a7
Notes:
- Although disabling and re-enabling the Animator stops the GameObject from rotating it doesn’t disable the Rotator script, on disabling the Animator again, you can see that the GameObject has continued to rotate
- Added a video of the issue
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
This is not a bug, if you want to drive joint_Turret_Rotation by script simply remove all curve from your animation clip for this transform. If you want to have an animation and override the result you must do it in a MonoBehaviour.LateUpdate()