Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X

Votes

4

Found in

2021.3.45f1

2022.3.52f1

6000.0.25f1

6000.1.0a2

Issue ID

UUM-86671

Regression

No

NavMesh.SamplePosition cannot find the closest point to the NavMesh when an obstacle carves the tile where sampling is performed

--

-

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

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.