# Is there a maximum nav mesh bounds volume size (particularly large Z) after which dynamic navmesh generation start to break?

**URL:** <https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742>\
**Category:** AI\
**Tags:** ai-navigation, navigation-mesh, Navigation, unreal-engine, navmesh, question\
**Created:** [June 14, 2020, 9:04pm UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742 "2020-06-14T21:04:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_060b78101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_060b78101](https://forums.unrealengine.com/u/anonymous_user_060b78101)\
**Post date:** [June 14, 2020, 9:04pm UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742/1 "2020-06-14T21:04:21Z")

</div>

I’m not sure if I have some incorrect settings with my navigation or if I’m hitting upon some limitation of the engine/recast.

I am attempting to use dynamic navmesh generation and using navigation invokers, my terrain is very large about 300,000 unreal units by 300,000 by 50,000 units tall. 300k x 300k x 50k.

When I make my navmesh bounds volume smaller than that, the default navmesh generates perfectly.

But when I size up the navigation bounds volume to 300k x 300k x 50k the navigation invokers aren’t triggering anything and the navmesh never generates. If I change my cell size and cell height to 700 though then I do get a navmesh generating even with the very large nav mesh bounds volume, but the resulting navmesh is very inaccurate to my terrain. See the images below for that inaccurate navmesh (those peaks shouldn’t be there as the terrain is flat).

Is there some setting I need to change to get more accurate navmesh with a large world and large navigable area?

Example:

 ![304418-navmesh-problems.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/a/bbac742e4c6cdd7c91d92186bf4d753939cd042a.jpeg)

---

<div class="post-metadata">

**Author:** ![Lokerian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lokerian](https://forums.unrealengine.com/u/Lokerian)\
**Post date:** [October 11, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742/2 "2020-10-11T19:36:05Z")

</div>

I’m Having exactly the same problem, im doing a level streaming with nav mesh invokers, using spawn triggers to spawn my AI Actors.

If i set my nav mesh to 10k x 10k x 10k (x || y || z) Nothing generates, if i make my nav mesh 10k x 10k x 800 it generates perfectly, so i thought maybe all i need is to take away my Y and add to my Z (since im doing a side scroller) but it wont work, basically any nav mesh higher than 800 wont generate.

Anyone knows about this or can help with it?

---

<div class="post-metadata">

**Author:** ![JonasWaever](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonasWaever](https://forums.unrealengine.com/u/JonasWaever)\
**Post date:** [November 19, 2020, 5:45am UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742/3 "2020-11-19T05:45:19Z")

</div>

I just ran into this problem myself and found your discussion.

Our producer of all people fixed it by messing around with the RecastNavMesh settings and discovered that the solution was to increase the Cell Height value. In our scene he raised it from 1 to 10 and the problem was solved.

We don’t use navigation invokers though, so YMMV, but try it out and see if it works 🙂

---

<div class="post-metadata">

**Author:** ![Gitchimo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gitchimo](https://forums.unrealengine.com/u/Gitchimo)\
**Post date:** [July 17, 2023, 5:20am UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742/4 "2023-07-17T05:20:15Z")

</div>

Very old i know, but still the best answer I’ve found for this. I linked Jonas’ solution in another thread as well. Thanks!

---

<div class="post-metadata">

**Author:** ![GamemasterBrown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GamemasterBrown](https://forums.unrealengine.com/u/GamemasterBrown)\
**Post date:** [December 25, 2023, 1:17pm UTC](https://forums.unrealengine.com/t/is-there-a-maximum-nav-mesh-bounds-volume-size-particularly-large-z-after-which-dynamic-navmesh-generation-start-to-break/466742/5 "2023-12-25T13:17:44Z")

</div>

How long does it take you to generate a navmesh for such a big terrain?
