# Hot realoding break navigation paths through custom NavArea

**URL:** <https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379>\
**Category:** C++\
**Tags:** navlinkproxy, navigation-mesh, unreal-engine, CPP, question, hot-reload\
**Created:** [February 27, 2015, 11:23am UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379 "2015-02-27T11:23:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deadlineproof](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deadlineproof](https://forums.unrealengine.com/u/Deadlineproof)\
**Post date:** [February 27, 2015, 11:23am UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/1 "2015-02-27T11:23:30Z")

</div>

If I hot reload a module containing custom nav areas even if I don’t make any modify to these NavArea classes the nav igation system will not generate paths through them any more.

NavlinkProxy connection color changes from the custom NavArea’s assigned color to black.

Changin navlinkproxy nav area to default area make the connection work again but changing back to custom doesn’t fix the problem for custom nav areas.

The only solution seems to restart the editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [March 5, 2015, 6:55pm UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/2 "2015-03-05T18:55:42Z")

</div>

Hi Deadlineproof,

I tried to reproduce this issue in a test project using a simple custom nav area class, but was unable to see the results that you described. Would you be able to provide some more information about the issue?

- What version of the Engine are you using, and are you using the binary version installed by the Launcher or did you build it from source code?
- Are you making any specific changes to your custom nav area class?
- Where are you making changes to need a hot reload?
- Does this only happen to you in your own project, or does it also occur in a new project?
- Was your project originally created in the version of the Engine that you are currently using, or had you upgraded it from a previous version?

---

<div class="post-metadata">

**Author:** ![Deadlineproof](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deadlineproof](https://forums.unrealengine.com/u/Deadlineproof)\
**Post date:** [March 5, 2015, 7:05pm UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/3 "2015-03-05T19:05:38Z")

</div>

version was 4.7.0 binary, now i’m using 4.7.2 , but i’m not working on pathing and I’m not using hot reloading as I’m now mainly using blueprint at moment so I didn’t check if it has been fixed.

Area class just set a bit in the flag bitfield.

Changes was made in other classes like a custom pawn and relative custom movement controller , but i don’t have problem with these classes navigating the mesh but globally the path is not available any more if the area is set.

I didn’t check on a newer project I can do it tomorrow and let you know.

the project was originally created on 4.7.

thanks , I will provide you with further data.  
I hope that meanwile the problem has been solved (4.7.2 /promoted/master)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [March 16, 2015, 6:54pm UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/4 "2015-03-16T18:54:34Z")

</div>

Hi Deadlineproof,

We have not heard back from you for a few days. Do you still need any help with this issue? I will be marking this issue as resolved for tracking purposes, but please feel free to re-open it at any time if you need any additional help.

---

<div class="post-metadata">

**Author:** ![matfer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@matfer](https://forums.unrealengine.com/u/matfer)\
**Post date:** [December 2, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/5 "2017-12-02T21:57:30Z")

</div>

I have the same issue described by op (source build 17.2). It makes hot reload practically unusable when a custom NavArea class is in the game module, because it messes up custom links in the navmesh of the map.

To reproduce:

- Follow AI jump tutorial, making a map with some NavLinkProxy with the NavArea\_Jump: ( [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Unreal_Engine_AI_Tutorial_-)_1_-\_Making\_AI\_Jump\_as\_a\_Part\_of\_Path\_Following ). Put some distinguishable DrawColor in the constructor of UNavArea\_Jump: `UNavArea_Jump::UNavArea_Jump(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { FNavAreaHelper::Set(AreaFlags, ENavAreaFlag::Jump); DrawColor = FColor::Magenta; }`
- Generate the navmesh in the level, so that when showing paths you can see the custom links with the custom color
- Do a hot reload
- Delete the RecastNavMesh-Default actor from the map (if present)
- Do a paths build: now custom links are black. When the AI tries to traverse the jump links, the jump area flag is 0.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [September 10, 2018, 8:30pm UTC](https://forums.unrealengine.com/t/hot-realoding-break-navigation-paths-through-custom-navarea/308379/6 "2018-09-10T20:30:30Z")

</div>

Hi matfer,

Sorry for not getting back to you on this. Are you still having trouble with this issue? If you are, we now have a new method for reporting Engine bugs. Please visit our [Report a Bug](https://www.unrealengine.com/en-US/support/report-a-bug) page and fill out the form there with as much information as you have available.
