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
- 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):
Fixed in: 2021.2.0a1