Does the NavMesh have a size limit, even when using multiple volumes?
My project is currently using long pathways of very large size (0.5 - 1.5 kilometers in length), and the navmesh simply runs out of juice after a while. It will be generating the navmesh as expected until about partway through the volume, and then it simply stops generating any further.
Tweaking the Navigation Mesh attributes in the engine settings allows me to push it a little further, but I have to start sacrificing resolution to fill out the entire area, and in the largest areas, the resolution is simply too low to function when I adjust it to fill out the entire area.
This limit seems to be for the level, or the sum of all the navmeshes in the currently loaded areas - adding more Nav Mesh volumes does not seem to help at all.
Is there a built in limit in Navmesh size? (Either literal, or perhaps memory based) And if so, how do I bypass this limit?
My project has much larger areas planned, so it is imperative that we are able to bypass this limit without sacrificing resolution. Attached is an image of my current navmesh settings; the current resolution of 35 is not a high enough number to fill more than %75 of the larger areas, but I simply cannot lower it anymore or the resolution starts to cause AI issues.
Thanks for your time.
asked Apr 01 '15 at 07:52 PM in Using UE4
The easiest thing to try is to increase tile size.
Navmesh is limited in number of tiles it can hold, and there's also a limit for number of navigation polygons, but both values are pretty big (30 and 29 bits respectively). I get a feeling a bug crept in there somewhere. I'll file a ticket to have it investigated.
Adding extra navmesh bounds won't help since all apply to the same navmesh instance, so if you hit the limit you hit the limit.
A more game-specific solution would be to have multiple navmeshes that you switch between, or use world offsetting or transforming navmesh. These however depend on specific game's requirements/design.
Hope it helps,
answered Apr 02 '15 at 09:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here