Search Issue Tracker
Won't Fix
Votes
5
Found in
2017.3.0f3
Issue ID
984654
Regression
No
NavMesh Path does not wrap around the edges of an object
To reproduce:
1. Open the attached project "NAVMESHAGENT PATH EDGE WRAP.zip"
2. Open scene "scene"
3. Play
4. Open the Navigation tab to show the navmesh
5. Observe the path not wrapping around the edges of the top-right corner ("navMeshPath.png")
Reproduced with: 5.6.5f1, 2017.1.3f1, 2017.2.1p2, 2017.3.0f3, 2017.3.0p2, 2018.1.0b3
Note: Not reproducible after slightly moving the cube
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note (2021.2.X):
As a performance optimization, the current implementation of the Navigation system does not guarantee that the path found towards the destination is always the shortest one (i.e. optimal). In the cases when the path found through a section of the NavMesh (the game environment) is sub-optimal, it is recommended to slightly change the environment geometry in that area such that the NavMesh geometry improves. In turn this will increase the chances of obtaining the shortest path.