# NavMesh - runtime update - Am I doing it wrong ?

**URL:** <https://forums.unrealengine.com/t/navmesh-runtime-update-am-i-doing-it-wrong/780468>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 28, 2023, 1:38pm UTC](https://forums.unrealengine.com/t/navmesh-runtime-update-am-i-doing-it-wrong/780468 "2023-02-28T13:38:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Hdubs37](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hdubs37/32/88714_2.png) [@Hdubs37](https://forums.unrealengine.com/u/Hdubs37)\
**Post date:** [February 28, 2023, 5:18pm UTC](https://forums.unrealengine.com/t/navmesh-runtime-update-am-i-doing-it-wrong/780468/9 "2023-02-28T17:18:06Z")

</div>

Yes I think I’m right, someone had the same issue and find a solution on UE4 but I can’t find the same trick in UE5 :

> [@AI navigation blocking self?](https://forums.unrealengine.com/t/ai-navigation-blocking-self/326358):
>
> I have an pawn controlled by an AI controller with a behavior Tree. I had it working so that the pawn used the move to node to avoid obstacles. I switched the runtime generation on the navmesh to dynamic and now the pawn seems to block itself. When the pawn moves the nav mesh updates red around the pawn and the pawn kind of stutters instead of moving correctly. It seems like its blocking it’s own path. Is there a way to fix this?

---

_[View the full topic](https://forums.unrealengine.com/t/navmesh-runtime-update-am-i-doing-it-wrong/780468)._
