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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
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.