Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
2019.3.0a4
Issue ID
1160337
Regression
No
Transform Component displays Z-Axis and X-Axis values changing when Translating a GameObject through X-Axis using Input Vertical
Steps to reproduce:
1. Open users attached project "OccultVoxel.zip"
2. Navigate to Project -> Assets -> Scenes and open "TestScene"
3. In the Hierarchy select GameObject "Player"
4. Enter Play mode
5. Press W or S to move the "Player"
--Notice the Z axis changes in Transform Position of the Player
Expected results: Transform Component Axis values are only changing when a GameObject is moved through those Axis
Actual Results: Z axis value is changing in the Transform Component when Translating a GameObject in the X-Axis
Reproducible with: 2017.4.0f1, 2017.4.28f1, 2018.4.2f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a4
Note: If GameObject is moved manually in the scene through Z-Axis, the bug will not reproduce after the GameObject is moved
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
Resolution Note:
This is due to floating-point inaccuracies caused by the rotation of "Player" object by -90 degrees around the Y axis. The Z values involved are very close to zero (e.g. -3.951758e-08).
You can avoid this by not rotating "Player" by 90 degrees and changing the PlayerMovementScript component to match.