Reproduction steps:
1. Open the attached “IN-87307” project
2. Open the “Playground“ scene
3. In the Scene view, move the “Obstacle” GameObject closer to the triangle ramp (by +3 units on the Z axis)
4. Observe the indicator gizmo above the triangle ramp
Expected result: The indicator gizmo is a blue line (Sampler finds the closest point)
Actual result: The indicator gizmo is a red cross (Sampler doesn’t find the closest point)
Reproducible with: 1.0.0-exp.4 (2021.3.45f1), 1.1.5 (2022.3.52f1), 2.0.4 (6000.0.25f1, 6000.1.0a2)
Reproducible on: macOS 14.6.1 (by reporter), Windows 11
Not reproducible on: No other environments tested
Note:
- Sampler always finds the closest point if the “Distance” variable, in its script, is 3.55 or higher