# Bug: Instanced Foliage Not Affecting Navmesh

**URL:** <https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451>\
**Category:** World Creation\
**Tags:** dynamic-navmesh, navmesh-bug, unreal-engine, navmesh, question\
**Created:** [July 16, 2015, 8:43am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451 "2015-07-16T08:43:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [July 16, 2015, 8:43am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/1 "2015-07-16T08:43:31Z")

</div>

Heya,

Here is the problem:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/1/131635534010b9631b07d37cc0d367effb6d782b.png) ](https://i.imgur.com/gmXSC7s.png)

On the right is the same tree but placed directly as a static mesh in the scene. On the left is the foliage painted one. It has collision enabled and the navmesh becomes dirty when I place it, but it recalculates covering the tree area as if there’s no collision. This current setup is using a NavigationInvoker agent, but the result is the same with traditional navmesh.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/b/a1b17912a90b499bb0307569c97c5839b4e30491.jpeg) ](https://i.imgur.com/OaECKqM.png)

---

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [July 16, 2015, 9:56am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/2 "2015-07-16T09:56:13Z")

</div>

Just to note - making my static meshes Dynamic Obstacles and restarting the editor makes them generate the navmesh slices. But since my trees won’t be walking around anytime soon, I’d like a solution that is not a workaround.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [July 16, 2015, 1:20pm UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/3 "2015-07-16T13:20:02Z")

</div>

Hi DamirH -

Thank you for your report. We have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide:

> **[How do I report a bug?](https://forums.unrealengine.com/questions/12363/how-do-i-report-a-bug.html)**
>
> I have discovered an issue with the Editor or with another component of the Unreal Engine 4, and I would like to report it to Epic. How should I do this?

Thank you -

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [July 16, 2015, 6:41pm UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/4 "2015-07-16T18:41:16Z")

</div>

Hello DamirH,

There is a setting within ‘Foliage’ mode that will allow your foliage instances to be accounted when the Nav Mesh is generated. Simply click on the static mesh actor while in foliage mode, scroll down to the ‘Instance Settings’ and set the ‘Custom Navigable Geometry’ to ‘Yes’ or ‘Even if Not Collidable’.

Now rebuild your scene to allow your Nav Mesh to be recalculated to account for your foliage instances that you have marked as custom navigable geometry.

**Foliage Instance Settings**

 ![50475-instancefoliagesettings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/d/18d18e3322e623251edf5146847c1dc55edabc41.png)

**Foliage with Nav Mesh**

 ![50476-foliagewithnavmesh.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/0/1d09d49fbdfa8fec2241506bf7a93227640bfa1e.png)

Let me know if this was the appropriate solution, or if you are still experiencing issues.

Cheers,

---

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [July 16, 2015, 7:39pm UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/5 "2015-07-16T19:39:00Z")

</div>

Hey Andrew,

This DID solve my problem actually, I’ve set it to “Yes” and I had to add UCX collision to my trees, AND restart the editor. The last bit was why I wasn’t seeing the changes immediately.

Thanks for the info and sorry if this is intended behavior and not a bug report.

Best regards,  
Damir H.

---

<div class="post-metadata">

**Author:** ![shaq\_mobile](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shaq\_mobile](https://forums.unrealengine.com/u/shaq_mobile)\
**Post date:** [May 7, 2019, 12:41am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/6 "2019-05-07T00:41:22Z")

</div>

I second this, i just had to use that setting and then restart the editor. Before restarting, no changes were shown.

---

<div class="post-metadata">

**Author:** ![Killerzwerg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killerzwerg](https://forums.unrealengine.com/u/Killerzwerg)\
**Post date:** [August 21, 2022, 10:59am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/7 "2022-08-21T10:59:25Z")

</div>

In UE5 it´s even with “CustomNavigableGeometry” not working…  
(It´s activated by default)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 24, 2022, 7:32am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/8 "2022-08-24T07:32:34Z")

</div>

Hey there @Killerzwerg! There is a new issue where foliage isn’t effecting the nav mesh. It has been fixed for the 5.1 build that’s coming. [Unreal Engine Issues and Bug Tracker (UE-150147)](https://issues.unrealengine.com/issue/UE-150147)

---

<div class="post-metadata">

**Author:** ![Killerzwerg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killerzwerg](https://forums.unrealengine.com/u/Killerzwerg)\
**Post date:** [August 25, 2022, 4:59am UTC](https://forums.unrealengine.com/t/bug-instanced-foliage-not-affecting-navmesh/325451/9 "2022-08-25T04:59:07Z")

</div>

Thank you ^^
