How to reproduce:
- Open the attached “IN-157311” project
- In the Unity editor’s menu bar, select “Tools” > “Bug Repros” > “C500 ProBuilder Math.GetNearestPointRayRay”
- Observe the result in the Console
Actual result: Perpendicular rays return the origin of the first ray, and parallel rays return NaN
Expected result: The method returns the nearest point for all ray directions
Reproducible with: 6.0.1-pre.2 (6000.0.0b11), 6.1.3 (6000.6.6f1, 6000.7.0b5)
Reproducible on: Windows 11 Enterprise (25H2), Windows 10 (by user)
Not reproducible on: No other environments tested