Search Issue Tracker
By Design
Votes
0
Found in
2022.3.8f1
2023.1.10f1
2023.2.0b6
2023.3.0a2
Issue ID
UUM-47084
Regression
Yes
Rigidbodies are not rotating when the Interpolation is turned on
How to reproduce:
1. Open the attached project “RotationBug”
2. Open the “SampleScene” scene
3. Enter the Play Mode
4. Select the “GameObject” in the Hierarchy and under the “Rotator (Script)” Component click the three dots menu
5. Click “Rotate 90deg clockwise”
6. Observe the rotation
Expected result: The GameObject rotates
Actual result: The GameObject is not rotating but in the Scene View the axes are rotating
Reproducible with: 2022.1.0a6, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Not reproducible with: 2021.3.29f1, 2022.1.0a5
Reproducible on: Windows 11 Pro
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
- WebGL: setting matchWebGLToCanvasSize to false and changing to full screen fails
- FrameDebugger - Wrong texture displayed when using CreateRenderGraphTexture
- Multiplte InvalidOperationExceptions and AggregateExceptions errors are being thrown when building for VisionOS
- Preferences foldouts don’t work when clicking on text
- WebGL Memory Leaks when unloading a Unity Instance
Resolution Note:
I regret to inform that this worked before 2022.1 because of undefined behaviour when setting transform both from script and from physics (as part of interpolation) at the same time. Between 2017 and 2022, when a an interpolated rigidbody was present in a scene, we had to sync all queued transform changes to the physics engine every Update, not FixedUpdate actually. That was because of a limitation in some core underlying technology that was removed in the later years. So for that reason, we changed that behaviour to gain additional performance for the typical use cases. Please read more about this here: https://blog.unity.com/engine-platform/expanding-the-robotics-toolbox-physics-changes-in-unity-20221, section "Interpolation and extrapolation". Anthony.