Search Issue Tracker
By Design
Votes
0
Found in
2021.3.37f1
2022.3.25f1
2023.2.19f1
6000.0.0b15
Issue ID
UUM-69887
Regression
No
Mathf.Floor produces inconsistent results when processing Physics.Raycast.Point X coordinate
How to reproduce:
1. Open the “MathTest“ project
2. Open the “SampleScene”
3. Enter Play Mode
4. Hover over the top-right of the “Plane” GameObject in the game view then press the space key
5. Observe the Console
Expected result: The x coordinate should stay the same since it is a plane
Actual result: The x value changes when the Mathf.Floor function is applied
Reproduced with: 2021.3.37f1, 2022.3.25f1, 2023.2.19f1, 6000.0.0b15
Reproduced on: Windows 10 (by reporter), Windows 11
Not reproduced on: No other environment tested
Note: Reproducible in the Player
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
- “Baking ReferencedPrefabAuthoring!” errors are thrown when creating or deleting unrelated GameObjects in a SubScene that references prefabs
- Cannot scroll down to see all UI Builder Inspector items after content is resized
- Crash on SceneTracker::SetObjectDirty when entering Play mode on a project with specific Assets
- UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
- The TileMap grid in the Tile Palette is not visible when Screen Space Ambient Occlusion is enabled
Resolution Note:
No bug here. Also the customer has been shown how to deal with their issue by support.