Search Issue Tracker

In Progress

Under Consideration for 2021.3.X, 2022.3.X

In Progress in 6000.0.X

Votes

0

Found in

2021.3.43f1

2022.3.46f1

6000.0.19f1

Issue ID

UUM-82365

Regression

No

NavMeshAgent.SamplePathPosition is returning a NavMeshHit with 0 mask when Nav Mesh Agent is nearing a corner of obstacle-culled NavMesh

--

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. Enter Play Mode
4. In the Game View, observe the “Capsule” GameObject approaching the corner of the obstacle culled NavMesh
5. In the Console, observe the logged NavMeshAgent.SamplePathPosition values

Expected result: The values should be non-zero
Actual result: There are values zero logged

Reproducible with: 1.0.0-exp.4 (2021.3.43f1), 1.1.5 (2022.3.46f1), 2.0.4 (6000.0.19f1)

Reproducible on: Windows 11, macOS 14.6.1 (M1 Max)
Not reproducible on: No other environments tested

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.