# Dynamic Navmesh Different in Packaged than Editor

**URL:** <https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822>\
**Category:** AI\
**Tags:** ai-navigation, unreal-engine, question\
**Created:** [November 17, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822 "2018-11-17T14:49:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 17, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/1 "2018-11-17T14:49:54Z")

</div>

I’ve run into a new problem in 4.21. Having some serious difficulties generating navigation meshes on dynamic terrain. The biggest problem is that after some tuning things seem to work fine in the editor but when packaged, there are seams in the navmesh that prevent AI from crossing.

 ![259690-navigationbroken.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/b/edbd9e2dd74177ed51502217a12d9642fd4e46dc.jpeg)

These are my navigation settings

[/Script/NavigationSystem.RecastNavMesh]  
RuntimeGeneration=Dynamic  
AgentMaxSlope=46.000000  
TileSizeUU=1000.000000  
AgentMaxStepHeight=64.000000  
bFixedTilePoolSize=True  
bForceRebuildOnLoad=True  
bDoFullyAsyncNavDataGathering=True

[/Script/NavigationSystem.NavigationSystemV1]  
CrowdManagerClass=Class’/Script/AIModule.CrowdManager’  
bAutoCreateNavigationData=True  
bSpawnNavDataInNavBoundsLevel=False  
bAllowClientSideNavigation=True  
bShouldDiscardSubLevelNavData=True  
bTickWhilePaused=False  
bInitialBuildingLocked=False  
bSkipAgentHeightCheckWhenPickingNavData=False  
DataGatheringMode=Lazy  
bGenerateNavigationOnlyAroundNavigationInvokers=True  
ActiveTilesUpdateInterval=1.000000  
+SupportedAgents=(Name=“Common”,Color=(B=0,G=255,R=140,A=164),DefaultQueryExtent=(X=50.000000,Y=50.000000,Z=250.000000),NavigationDataClassName=None,AgentRadius=35.000000,AgentHeight=144.000000,AgentStepHeight=-1.000000,NavWalkingSearchHeightScale=0.500000,PreferredNavData=None,bCanCrouch=False,bCanJump=True,bCanWalk=True,bCanSwim=False,bCanFly=False)  
DirtyAreasUpdateFreq=60.000000

This problem is new to 4.21. Everything was working in 4.20. I did notice now that without setting to fully async, NavigationInvokers stopped working as well.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 17, 2018, 6:26pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/2 "2018-11-17T18:26:23Z")

</div>

I confirmed that the seams are along the Tile boundaries. Increasing the TileSize changes the seams accordingly.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 17, 2018, 6:32pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/3 "2018-11-17T18:32:33Z")

</div>

[See the problem in action](https://youtu.be/K-1Tf-XwYfU)

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 17, 2018, 8:41pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/4 "2018-11-17T20:41:25Z")

</div>

Tried Switching to Chunky Monotone as discussed in this thread…  
[Thread](https://answers.unrealengine.com/questions/722822/navmesh-cracks-in-irregular-geometry-such-as-hills.html?sort=oldest)

No luck. Again, things seem to work in the editor but not in the packaged build.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 17, 2018, 9:29pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/5 "2018-11-17T21:29:30Z")

</div>

Also, I’ve already reported this through your the Bug Tracker. I am aware that you recently switched to a new bug tracking method. What I’m looking for here is new/unknown configuration requirements for 4.21. That could address this.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 20, 2018, 4:22pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/6 "2018-11-20T16:22:20Z")

</div>

Tweaking the Cell Size to 32 x 21 and the AgentRadius to 35 made the problem go away but now having problems with AI using doors, stairs etc.

---

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [November 20, 2018, 4:40pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/7 "2018-11-20T16:40:40Z")

</div>

Just to confim I’m seeing similar issues using navigation invokers and dynamic navmesh. They worked fine in 4.20. In 4.21 the recastnavmesh serialization has some uninitialized variables in it when loaded (NaN etc.). This led to some infinite loops in the tile calculations and seems to be intermittent, sometimes works fine other times not.

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [November 20, 2018, 10:15pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/8 "2018-11-20T22:15:52Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://epicsupport.force.com/unrealengine/s/](https://epicsupport.force.com/unrealengine/s/)

Thanks

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 21, 2018, 12:02am UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/9 "2018-11-21T00:02:05Z")

</div>

Did that first 🙂

---

<div class="post-metadata">

**Author:** ![blobdole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blobdole](https://forums.unrealengine.com/u/blobdole)\
**Post date:** [November 24, 2018, 2:14am UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/10 "2018-11-24T02:14:48Z")

</div>

Do you have a link to the issue? We are having the same issue and I would like to vote on it and track it.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 24, 2018, 6:17am UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/11 "2018-11-24T06:17:29Z")

</div>

I’d love to share a link with you but all I got was this…

> Thank you for your bug submission. We  
> will be investigating your case and  
> follow up if more information is  
> needed or when a ticket is created.  
> You can track the latest UE4 issues at  
> [https://issues.unrealengine.com/](https://issues.unrealengine.com/)

---

<div class="post-metadata">

**Author:** ![blobdole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blobdole](https://forums.unrealengine.com/u/blobdole)\
**Post date:** [November 24, 2018, 10:33am UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/12 "2018-11-24T10:33:43Z")

</div>

I made a test project that demonstrates this issue.

[https://drive.google.com/open?id=1ZBNv-nj8o1ow5FkGmnTx6z8AkDpi3PiD](https://drive.google.com/open?id=1ZBNv-nj8o1ow5FkGmnTx6z8AkDpi3PiD)

How it looks in editor:

 ![260353-editor-pathing.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/7/537f04dd037415597832616366614b3ca101aabd.jpeg)

How it looks when packaged:

 ![260354-packaged-pathing.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/6/de62b290066d534e237a1ec68b3efa87dc20bdab.jpeg)

---

<div class="post-metadata">

**Author:** ![Positivity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Positivity](https://forums.unrealengine.com/u/Positivity)\
**Post date:** [November 29, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/13 "2018-11-29T17:51:30Z")

</div>

I have Exact problem ☹ Fix Probobly will be only in 4.21.1 , Only how long we must wait. For now now Packaged Testing.

---

<div class="post-metadata">

**Author:** ![Xilverback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xilverback](https://forums.unrealengine.com/u/Xilverback)\
**Post date:** [November 30, 2018, 3:00pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/14 "2018-11-30T15:00:14Z")

</div>

Got this email from Epic…

> 

It appears you might not have received my previous reply to this issue. I am glad to say this issue is fixed in our latest internal build. I’m unsure when it will be officially released but you are using any of our Source Builds you can grab it from the Master Branch on GitHub. This was fixed in CL-4567513

---

<div class="post-metadata">

**Author:** ![Positivity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Positivity](https://forums.unrealengine.com/u/Positivity)\
**Post date:** [November 30, 2018, 6:21pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/15 "2018-11-30T18:21:39Z")

</div>

Awesome, now just we need to wait till Launcher version got Updated. 4.21.1 , They fixed this Bug and Bug where level Streeming doesn’t regenerate Dynamic nav mesh on Mobile.

---

<div class="post-metadata">

**Author:** ![blobdole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blobdole](https://forums.unrealengine.com/u/blobdole)\
**Post date:** [December 4, 2018, 10:09pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/16 "2018-12-04T22:09:42Z")

</div>

Confirmed NOT repaired in 4.21.1

=(

---

<div class="post-metadata">

**Author:** ![Positivity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Positivity](https://forums.unrealengine.com/u/Positivity)\
**Post date:** [December 8, 2018, 10:32am UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/17 "2018-12-08T10:32:23Z")

</div>

Yes, It is not Fixed, however, Support told us that it is Fixed in Master Branch of UE4 … so I m confused from where does 4.21.1 comes if not the master branch … but ok I’m Downloading Master Branch will update if master Branch really fixes this Issue.

---

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [December 8, 2018, 2:19pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/18 "2018-12-08T14:19:17Z")

</div>

Has anyone located the commit for this on the master branch? I can’t find any comments with CL-4567513.

---

<div class="post-metadata">

**Author:** ![Positivity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Positivity](https://forums.unrealengine.com/u/Positivity)\
**Post date:** [December 8, 2018, 2:22pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/19 "2018-12-08T14:22:32Z")

</div>

You can read in Comments what Support Answered to a person who made bug report … [https://answers.unrealengine.com/questions/848562/view.html](https://answers.unrealengine.com/questions/848562/view.html)

---

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [December 8, 2018, 2:26pm UTC](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822/20 "2018-12-08T14:26:39Z")

</div>

Thanks though there’s no reference in the comments to the code/commit for the fix.

[Next page](https://forums.unrealengine.com/t/dynamic-navmesh-different-in-packaged-than-editor/437822.md?page=2)
