# Navigation Mesh Rebuild At Runtime causing 20-40 fps loss

**URL:** <https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249>\
**Category:** World Creation\
**Tags:** unreal-engine, fps, navmesh, bug-report, editor, UE4, question\
**Created:** [July 14, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249 "2015-07-14T19:45:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d2ffd0f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d2ffd0f](https://forums.unrealengine.com/u/anonymous_user_9d2ffd0f)\
**Post date:** [July 14, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249/1 "2015-07-14T19:45:52Z")

</div>

**Branch:** Binary

**Build Version:** 4.8.1-2591939

**Description:** Navigation mesh gets fully rebuilt as soon as the game is played, causing a huge fps drop on a big map with a large nav mesh. With “Runtime Generation” set to “Dynamic”.

**Repro:**

- Make a large level with a very large nav mesh
- project settings-\> nav mesh → runtime generation → dynamic
- Reload the editor, and make sure the “building navigation” message lasts at least 10 seconds
- construct a reasonably complex scene that takes the fps below max on your machine

**Result:**  
A 20-40 fps drop just after begin play until the nav mesh is fully built. Instead I was hoping the engine could use the initial state of the pre-built nav mesh (like the Static option) and then continue working like Dynamic after that. As opposed to having to rebuild the mesh from scratch.

**Notes:**

This issue seems to be the exact same as one found a while ago in 4.5: [[4.5] Navigation Mesh Rebuild At Runtime causing 20-40 fps loss in 4.5 only - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/118670/45-navigation-mesh-rebuild-at-runtime-causing-20fp.html)

I’ve also tried using the new option “Dynamic Modifiers Only” on “Runtime Generation”. But wasn’t able to get any navigation working at all. Same issue as this unanswered thread: [Navigation fail with Dynamic Modifiers Only - AI - Epic Developer Community Forums](https://answers.unrealengine.com/questions/246236/navigation-fail-with-dynamic-modifiers-only.html)

I read the description of “Dynamic Modifiers Only” in: [What's New | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Support/Builds/ReleaseNotes/2015/4_8/index.html) That’s all the documentation I could find on it. And it sounds like it’s supposed to work exactly like the “Static” option when there are no nav modifiers in the map. But in practice it doesn’t work this way and I can’t figure out how to use it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [July 14, 2015, 9:18pm UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249/2 "2015-07-14T21:18:07Z")

</div>

Hello Mastodon,

After reading over your post I found that the setting “Dynamic Modifiers Only” works with little to no frame rate drop and my characters are able to navigate as expected. However, I was able to reproduce the frame rate drop that you are seeing with the dynamic settings. I have written up a report ( UE-18627) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available.

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d2ffd0f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d2ffd0f](https://forums.unrealengine.com/u/anonymous_user_9d2ffd0f)\
**Post date:** [July 14, 2015, 9:43pm UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249/3 "2015-07-14T21:43:04Z")

</div>

Thank you so much for looking into it.

Could you please direct me to some documentation on how DynamicModifiersOnly works?

For me it just doesn’t work: (at least in the way I’m trying to get it to work)

- Created a new project from the top-down template
- Changed setting to DynamicModifiersOnly
- Hit play and can’t move

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [July 15, 2015, 10:28am UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249/4 "2015-07-15T10:28:58Z")

</div>

`DynamicModifiersOnly` mode has been fixed very recently and the fix is not in 4.8. Sorry!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d2ffd0f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d2ffd0f](https://forums.unrealengine.com/u/anonymous_user_9d2ffd0f)\
**Post date:** [July 16, 2015, 7:44pm UTC](https://forums.unrealengine.com/t/navigation-mesh-rebuild-at-runtime-causing-20-40-fps-loss/325249/5 "2015-07-16T19:44:33Z")

</div>

I pulled the latest promoted version and verified that it works.

I think DynamicModifiersOnly will fit nicely with what I’m trying to do.

Thank you for adding this functionality. It makes the nav system a lot easier to work with.
