Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.1.X, 2021.2.X
Votes
0
Found in
2021.1.17f1
Issue ID
1367721
Regression
No
Modifying Rigidbody2D.position or Rigidbody2D.rotation doesn't stop interpolation when called during the FixedUpdate callback.
Reproduction steps:
1. Open the attached "case_1367721_Rigidbody2D_PositionRotation.zip" project (not the user submitted one)
2. Open the "SampleScene" Scene
3. Press Play (ensure the Gizmos are showing)
4. Press the 2 key
Expected result: The square should instantly jump position/rotation and not interpolate
Actual result: The square interpolates when it shouldn't.
NOTES:
- Pressing the 1 key does interpolate the square and is correct but is only there to show a comparison; this is correct behaviour.
- The squares are set to rotation by 30 degrees.
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 (fix version 2021.2):
A fix for this issue is available on Unity 2021.2.0b16 and above
Resolution Note (fix version 2021.1):
A fix for this issue is available on Unity 2021.1.25f1 and above