Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a12
2018.4.5f1
2019.1.13f1
2019.2.0f1
2020.1.0a1
Issue ID
1185336
Regression
No
The NavMeshAgent can not arrive at the Destination if there is the Nav Mesh Obstacle
To reproduce:
1. Download attached "New Unity Project.zip" project and open in Unity
2. Open "SampleScene" scene
3. Enter to Play mode
Expected results: The NavMeshAgent easily arrives at the Destination even if there is the Nav Mesh Obstacle
Actual results: The NavMeshAgent can not arrive at the Destination if there is the Nav Mesh Obstacle
Notes:
- This issue reproduces on Editor, Standalone and other Platforms
- Sometimes the NavMeshAgent can easily arrive at the Destination even if earlier it could not
Reproduced on Unity 2018.4.5f1, 2018.4.10f1, 2019.2.7f1, 2019.3.0b5 and 2020.1.0a6
Not reproduced on Unity 2018.3.14f1 and 2018.4.4f1
Regression on Unity 2018.4.5f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Variable is set to a different value from the selected enum value in the Editor dropdown
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
Resolution Note (2020.1.X):
The issue stems from an inconsistency in the agent radius setting for the navmesh and the NavMeshAgent obstacle avoidance radius (0.06 vs 0.5), leading the agent to attempt to follow a path through a gap that is too narrow. The recommended solution is to bake the navmesh with the correct agent radius (0.5). For scenes with multiple agents of varying radii, use NavMeshComponents.