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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Element name field has no character limit in UI Builder
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
Resolution Note:
No bug here. Also the customer has been shown how to deal with their issue by support.