Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3
2019.3.0a8
2020.1
Issue ID
1201330
Regression
No
Prefabs have their Y position displayed incorrectly when they are Instantiated with Transform.Position.Y 0
Steps to reproduce:
1. Open user's attached project "StylizedPrototype1.zip"
2. Open "OwnPrototypeTry2" scene
3. Click Play.
4. Move to an area with good visibility using WASD.
5. Using the mouse, aim at the flat area of the terrain
6. Repeatedly press F aiming at different areas(for different GameObjects to be spawned)
7. Look into the console. There you should find as many entries saying: "Spawned Terrain *objectSpawned* *y-value*". Some of these y-values should be 0, some -2.384186e-07 and some +2.384186e-07.
Expected results: Transform.Position.Y is 0 if an object is at Transform.Position.Y==0
Actual results: Objects that are at Y=0 have their Transform.Position.Y displayed as +2.384186e-07. or -2.384186e-07. or any other strange numbers
Reproducible with: 2019.3.0f1, 2020.1.0a15
Note: Unable to open 2019.2 and lower due to error "Failed to load 'C:/Users/augustinas.zigunis/Downloads/case_1201330-StylizedPrototype1/Assets/New Terrain 1.asset' because it was serialized with a newer version of Unity. (Has a higher SerializedFile version)
"
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
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
- Error "ArgumentException: Trying to use an invalid resource" when creating custom post-processing effect in URP
- [DX12] GameObjects using CommandBuffer DrawProcedural and DispatchCompute calls have color flicker when changing color and moving mouse cursor
- The Player becomes unresponsive after resolution switch in Exclusive Fullscreen mode when using DX12 Graphics API
- (Apple Silicon) Floating point inconsistencies between mono and il2cpp
Resolution Note:
Physics raycasting and other are not guaranteed to give exact values due to floating point precission