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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a1