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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.