# No Shadows cast by Foliage when creating more than one Instance

**URL:** <https://forums.unrealengine.com/t/no-shadows-cast-by-foliage-when-creating-more-than-one-instance/2633501>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [August 7, 2025, 2:23pm UTC](https://forums.unrealengine.com/t/no-shadows-cast-by-foliage-when-creating-more-than-one-instance/2633501 "2025-08-07T14:23:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerAndereDDA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DerAndereDDA](https://forums.unrealengine.com/u/DerAndereDDA)\
**Post date:** [August 7, 2025, 2:23pm UTC](https://forums.unrealengine.com/t/no-shadows-cast-by-foliage-when-creating-more-than-one-instance/2633501/1 "2025-08-07T14:23:07Z")

</div>

Hi, somehow when i create more than one instance of a foliage object they all dont cast any shadows. Only when building a single instance shadows work just fine.  
Does somebody know a solution to this problem?

---

<div class="post-metadata">

**Author:** ![cheibergerJLG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cheibergerJLG](https://forums.unrealengine.com/u/cheibergerJLG)\
**Post date:** [August 7, 2025, 7:48pm UTC](https://forums.unrealengine.com/t/no-shadows-cast-by-foliage-when-creating-more-than-one-instance/2633501/2 "2025-08-07T19:48:26Z")

</div>

Hi Der,

This is something to do with WPO and Nanite being enabled at the same time on foliage actors.

One “solution” I found was this console command:  
r.RayTracing.Geometry.InstancedStaticMeshes.EvaluateWPO 1

Hope this acts as a temporary solution.

---

<div class="post-metadata">

**Author:** ![DerAndereDDA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DerAndereDDA](https://forums.unrealengine.com/u/DerAndereDDA)\
**Post date:** [August 9, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/no-shadows-cast-by-foliage-when-creating-more-than-one-instance/2633501/3 "2025-08-09T22:39:31Z")

</div>

> [@cheibergerJLG](#):
>
> WPO

Hi, sadly this didn’t lead to solving the problem. What downsides would disabling evaluate WPO have? Im only going for a still image rendering and am fairly new to UE.
