Unity Issue Tracker - NavMeshObstacle placed near the edge of a NavMesh causes isolated polygons where NavMeshAgents can get stuck
Fixed
UUM-8240
NavMeshObstacle placed near the edge of a NavMesh causes isolated polygons where NavMeshAgents can get stuck
Unity: AI Navigation Core
NavMesh
Fixed
2023.1.X
2022.2.X
2021.3.X
2020.3.X
Won't Fix
2022.1.X
Fixed in 2023.1.0a22
Backport to branch 2022.1 has stopped as it reached end of life.
Steps to reproduce:
1. Open SampleScene in the attached project ("TestNavMesh2.zip")
2. Enter Play Mode
3. Select the Scene View
4. Select the Agent GameObject in the Hierarchy
5. Manually drag the Agent towards the narrow path between the NavMeshObstacle and the edge of the NavMesh
6. Leave the Agent in the spot where it cannot traverse anymore
7. Disable and Enable the NavMeshAgent Component
Expected result: The NavMeshAgent can still be manually dragged
Actual result: The NavMeshAgent is stuck (see attached AgentStuck.mp4)
Reproducible on: 2020.3.36f1, 2021.3.6f1, 2022.1.8f1, 2022.2.0b1, 2023.1.0a3
Notes:
-See attached AgentStuck.mp4 for help in reproducing the issue
Prioritise and Follow this issue
Have a workaround or additional info about this issue?