# Manual rebuild of navmesh

**URL:** <https://forums.unrealengine.com/t/manual-rebuild-of-navmesh/431020>\
**Category:** AI\
**Tags:** source, unreal-engine, navmesh, question, CPP\
**Created:** [August 5, 2018, 8:19pm UTC](https://forums.unrealengine.com/t/manual-rebuild-of-navmesh/431020 "2018-08-05T20:19:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [August 5, 2018, 8:19pm UTC](https://forums.unrealengine.com/t/manual-rebuild-of-navmesh/431020/1 "2018-08-05T20:19:45Z")

</div>

is there a way to rebuild navmesh manually by registering components manually.  
I believe there must be , I"m curious what are the exact functions that is in charge of this?

My guess is :  
void UNavigationSystemV1::OnActorRegistered(AActor\* Actor)  
void UNavigationSystemV1::OnComponentUnregistered(UActorComponent\* Comp)

What I’m trying to do is to lock it so they dont’ get rebuild by using bInitialBuildingLocked

however they don’t seems to work.

If there’s anyone who can assist would be great

Actually we’re having an issue that navmesh insist on rebuilding every entire world though 99.99 of the data is valid. Asked on answerhub a long time ago , but gave up on getting any response :

> **[Prevent Navmesh from Fully rebuilding](https://forums.unrealengine.com/questions/797908/prevent-navmesh-from-fully-rebuilding.html)**
>
> We’re currently hitting an issue where server is rebuilding the navmesh entirely in the beginning. It seems that this is happening even without checking the “Rebuild in runtime” The main issue is that we want it to rebuild where it is dirty...
