Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.3.33f1
2022.3.15f1
2023.2.4f1
2023.3.0a18
Issue ID
UUM-58429
Regression
No
Rigidbody interpolation is performed after the next frame's FixedUpdate() when using Rigidbody2D
How to reproduce:
1. Open the attached “rb_interpolation_issue” project
2. Open the SampleScene and enter Play Mode
3. Observe the Console output
Expected result: the position of the Transform is updated based on the Rigidbody’s position before the start of the next frame
Actual result: the position of the Transform is updated between FixedUpdate and Update
Reproducible in: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Notes:
* Also reproducible in the Player
* The project contains two logging scripts, one which has its script execution order set before Default Time, and another script that is set to execute after Default Time. This way we can check what is happening between the different Update functions. Lastly, there is a script that moves the Rigidbody in every frame.
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:
There seems to be a misunderstanding on what MovePosition should be doing here and when things get updated.
I have responded here: https://forum.unity.com/threads/when-does-a-rigidbodys-interpolation-occur.1295028/#post-9582778