Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.1.25f1
Issue ID
1373286
Regression
Yes
Transform Z position of GameObject is reset to 0 in Play mode when the RigidBody 2D Interpolate is set to "Interpolate"
Transform Z position of GameObject is reset to 0 in Play mode when the RigidBody 2D Interpolate property is set to "Interpolate" or "Extrapolate"
How to reproduce:
1. Open the attached project "camera physics repro"
2. Open the scene "Show" (Assets/Scenes/Show.unity)
3. Enter Play mode
4. In the Hierarchy window, observe the GameObject "FollowCamera"
Expected result: "FollowCamera" Transform Position is at (55, 88.3, -13.85)
Actual result: "FollowCamera" Transform Position is at (55, 88.3, 0)
Reproducible with: 2021.1.25f1, 2021.1.28f1
Not reproducible with: 2020.3.23f1, 2021.1.24f1, 2021.2.0a1, 2021.2.2f1, 2022.1.0a14
Could not test with: 2019.4.32f1(Package errors when changing Editor versions)
Note: Setting the Interpolate property of the GameObject's Rigidbody 2D component to "None" fixes 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
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
- Mistakes in multiple Particle System Components pop-up
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a1