# Navmesh issue with corner

**URL:** <https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061>\
**Category:** World Creation\
**Tags:** navmesh-bug, unreal-engine, navmesh, question\
**Created:** [January 15, 2015, 3:42pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061 "2015-01-15T15:42:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atemu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atemu](https://forums.unrealengine.com/u/Atemu)\
**Post date:** [January 15, 2015, 3:42pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/1 "2015-01-15T15:42:04Z")

</div>

Hey,

I have an issue with corner when I’mu sing Navmesh. The enemies are stuck, especially when climbing a stair and near a small wall. I think that playing with the Navmesh settings would resolve the problem however, despite having seen the live support about AI, I don’t find the right setting. Can you help me please ?

Thanks in advance !

 ![26767-enemy_stuck01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/a/f0a557319cd4fd154e78526d290d9dea99ad2ecc.jpeg)

 ![26768-enemy_stuck02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/8/1e88dd1d3aa1e844aea5508c77068c502ea40cb0.jpeg)

---

<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:** [January 15, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/2 "2015-01-15T16:25:05Z")

</div>

First of all add an entry to `SupportedAgents` in Project Settings → Navigation System and make sure you set up `Agent Radius` to whatever your character’s radius is. If this doesn’t help maybe you could share a stripped-down version of your project?

Cheers,

–mieszko

---

<div class="post-metadata">

**Author:** ![Atemu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atemu](https://forums.unrealengine.com/u/Atemu)\
**Post date:** [January 16, 2015, 12:33pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/3 "2015-01-16T12:33:29Z")

</div>

Thank you for you help. The generated Navmesh seems much better now however, the enemies are still “stuttering” (see the gif).

Here is my project as requested : [https://dl.dropboxusercontent.com/u/3044233/Cyberpunk\_TD.zip](https://dl.dropboxusercontent.com/u/3044233/Cyberpunk_TD.zip)

![26775-ue4editor+2015-01-15+18-04-11-61_685-739.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/d/49d6b0db808d0400b9451f7dde5e2e1d6d87afcd.gif)

 ![26774-enemy_stuck03.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/f/eefa16028696123bc5263c91d9c3f4048be1e637.jpeg)

---

<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:** [January 16, 2015, 12:58pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/4 "2015-01-16T12:58:09Z")

</div>

And that’s why giving us a repro-project is the way to go! Got it nailed, fix will be in 4.7. The workaround until then is increasing the speed of your AI Characters. At the default ground speed of 600 it works fine. Play around with it, maybe some lower values will still be ok.

Cheers!

---

<div class="post-metadata">

**Author:** ![Atemu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atemu](https://forums.unrealengine.com/u/Atemu)\
**Post date:** [January 16, 2015, 2:21pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/5 "2015-01-16T14:21:17Z")

</div>

> Blockquote And that’s why giving us a repro-project is the way to go! Got it nailed, fix will be in 4.7.

I’ve found a bug 😛 The workaround is working, the lowest ground speed I could set was 400.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5c32abf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5c32abf](https://forums.unrealengine.com/u/anonymous_user_e5c32abf)\
**Post date:** [February 1, 2015, 5:03pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/6 "2015-02-01T17:03:45Z")

</div>

Hi , do you know what the SHA1 for the github commit for this is? I was wanting to try and pull this fix in early.

Thanks!

---

<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:** [February 2, 2015, 1:55pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/7 "2015-02-02T13:55:31Z")

</div>

It’s [https://github.com/EpicGames/UnrealEngine/commit/af47f41fa4a35252730dc95ec3846908e34039b6#diff-1908ad1d3bea75ef1058ba2ee1517e77](https://github.com/EpicGames/UnrealEngine/commit/af47f41fa4a35252730dc95ec3846908e34039b6#diff-1908ad1d3bea75ef1058ba2ee1517e77)

Enjoy!

---

<div class="post-metadata">

**Author:** ![Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://forums.unrealengine.com/u/Anonymous_e5d5c0bf7d300728867097ff79906dbe)\
**Post date:** [March 5, 2018, 8:57pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/8 "2018-03-05T20:57:03Z")

</div>

Hey Mieszko,  
I have the same issue in 4.16.3  
I am using detour crowd… the navigation generated seems fine with a matching radiuses,  
I am using speed of 160 (can not increase it - game specifics)  
When I am trying to play with navigation highlighted it seems like the characters are penetrating the navigation walls… I have only 1 nav mesh generated due to detour specifics.

Sadly the project is very big and I can not give you a stripped down copy  
too many dependencies on custom C++ classes.

Could you suggest something please ?

---

<div class="post-metadata">

**Author:** ![Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://forums.unrealengine.com/u/Anonymous_e5d5c0bf7d300728867097ff79906dbe)\
**Post date:** [March 5, 2018, 10:35pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/9 "2018-03-05T22:35:08Z")

</div>

It Seems like if I disable detour the Characters are no longer stuck at corners - however they sometimes getting inside the navmesh bound modifier (area NULL) which is weird as well ☹

With detour

 ![232851-slowdown-on-detour.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/c/44c2284b1bb5a422073d3b9d3c2b73f2739a7a19.jpeg)

---

<div class="post-metadata">

**Author:** ![Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://forums.unrealengine.com/u/Anonymous_e5d5c0bf7d300728867097ff79906dbe)\
**Post date:** [March 6, 2018, 12:33am UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/10 "2018-03-06T00:33:34Z")

</div>

So far it seems like setting Max Avoided Walls to 0  
resolves the slowdown and stuck issue, however sometimes the Character is entering the Yellow border completely - I am not sure if it is good enough to live with and what setting the MaxAvoidedWalls actually means :-()

Well after more testing I realized that this is even worse ☹ Now AI are just going on top of un-walkable areas and what not ☹

No, RVO is Disabled!

The generated path is fine - the path following is just bad - It appears like it just wants to cut some corners and then stuck in them ☹

---

<div class="post-metadata">

**Author:** ![Prab\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Prab\_1](https://forums.unrealengine.com/u/Prab_1)\
**Post date:** [May 15, 2019, 12:31pm UTC](https://forums.unrealengine.com/t/navmesh-issue-with-corner/304061/11 "2019-05-15T12:31:05Z")

</div>

@ColdSteel48 thank you…i was stuck on this thing finally fixed…
