# Crash replacing foliage mesh instances from Scene Outliner

**URL:** <https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538>\
**Category:** World Creation\
**Tags:** unreal-engine, Foliage, question\
**Created:** [March 11, 2014, 4:05am UTC](https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538 "2014-03-11T04:05:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 4:05am UTC](https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538/1 "2014-03-11T04:05:39Z")

</div>

![capture4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/d/1adb2de6ba49f1f9997b22cf72971a5202835584.png)

Maybe I ain’t supposed to even try doing it, but I selected a mesh in the content browser to replace the ones painted in the level with the Foliage tool and in the Scene Outliner RMB’d to choose Replace with StaticMesh … and it gives a repeatable fatal error.

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 4:05am UTC](https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538/2 "2014-03-11T04:05:40Z")

</div>

![capture5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/8/8b8f34b0f319493acb680ad2acca42e7ce405cad.png)

Just after … I’m trying to make another foliage using a mesh with its material set to an Engine material (Widget\_Z) and it causes a permissions warning pop up  
Is it related to the above question?

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 4:05am UTC](https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538/3 "2014-03-11T04:05:41Z")

</div>

Using a non-engine material+texture doesn’t make a difference to the crash.

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 4:05am UTC](https://forums.unrealengine.com/t/crash-replacing-foliage-mesh-instances-from-scene-outliner/276538/4 "2014-03-11T04:05:41Z")

</div>

Hi Tom,

Great find! I have reproduced and reported the crash.

If still curious, the properly intended way to swap out the mesh is by clicking the little arrow, which you can see at the top right of your second screenshot.

Regarding your second issue, I have not yet been able to get that to reproduce. I experienced no problem applying WidgetMaterial\_Z to a StaticMesh and using that with the Foliage tool. Let me know if you find any simple reproducable steps.

Thanks,
