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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a1