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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a1