Search Issue Tracker

In Progress

Under Consideration for 2021.3.X, 2022.3.X

Won't Fix in 2023.2.X

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

  1. Resolution Note (2023.2.X):

    Closing as Won't fix due to 2023.2 reaching it's EOL.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.