# Crash while generating foliage through blueprints

**URL:** <https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640>\
**Category:** Blueprint\
**Tags:** Foliage-Tool, procedural-foliage, unreal-engine, Blueprint, question\
**Created:** [January 10, 2023, 11:29pm UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640 "2023-01-10T23:29:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZaneJensen013](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZaneJensen013](https://forums.unrealengine.com/u/ZaneJensen013)\
**Post date:** [January 10, 2023, 11:29pm UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640/1 "2023-01-10T23:29:59Z")

</div>

Hi I am currently running in unreal 5.1.0 and I am trying to generate foliage with a blueprint widget. I have been able to get the ‘Instanced Foliage Actor’, its ‘Foliage Instanced Static Mesh Components’ and generate instances of the components across my landscape.

But if I try to go into “Foliage Mode” and select a foliage instance, unreal engine crashes right once it is clicked. I am trying to allow my generated instances to be editable with the Foliage Mode tools, if that isn’t a possibility let me know.

Any help would be appreciated, thanks!

---

<div class="post-metadata">

**Author:** ![ZaneJensen013](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZaneJensen013](https://forums.unrealengine.com/u/ZaneJensen013)\
**Post date:** [January 10, 2023, 11:54pm UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640/2 "2023-01-10T23:54:14Z")

</div>

Update: I found that I can use the select all tool and it highlights correctly, but the remove tool doesn’t work. Neither does the erase. I accidentally used the fill tool on one of the surfaces, and when I hit undo, it also erased my generated foliage with it.

---

<div class="post-metadata">

**Author:** ![JUSTDOITzhw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUSTDOITzhw](https://forums.unrealengine.com/u/JUSTDOITzhw)\
**Post date:** [November 29, 2023, 3:27am UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640/3 "2023-11-29T03:27:06Z")

</div>

Has this problem been solved?

---

<div class="post-metadata">

**Author:** ![ZaneJensen013](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZaneJensen013](https://forums.unrealengine.com/u/ZaneJensen013)\
**Post date:** [February 1, 2024, 8:25pm UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640/4 "2024-02-01T20:25:57Z")

</div>

# It has been fixed in recent engine versions. When selecting a Foliage Instance with Nanite on it would select a completely different instance. It was a bug

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 2, 2024, 8:26pm UTC](https://forums.unrealengine.com/t/crash-while-generating-foliage-through-blueprints/746640/5 "2024-03-02T20:26:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
