# Crash when exporting a tree with custom Nanite Assemblies in Procedural Vegetation Editor

**URL:** <https://forums.unrealengine.com/t/crash-when-exporting-a-tree-with-custom-nanite-assemblies-in-procedural-vegetation-editor/2730267>\
**Category:** Asset Creation\
**Tags:** procedural-foliage, unreal-engine, bug-report, Nanite, question\
**Created:** [June 21, 2026, 11:09am UTC](https://forums.unrealengine.com/t/crash-when-exporting-a-tree-with-custom-nanite-assemblies-in-procedural-vegetation-editor/2730267 "2026-06-21T11:09:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iva\_creative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iva_creative/32/1017839_2.png) [@iva\_creative](https://forums.unrealengine.com/u/iva_creative)\
**Post date:** [June 21, 2026, 11:09am UTC](https://forums.unrealengine.com/t/crash-when-exporting-a-tree-with-custom-nanite-assemblies-in-procedural-vegetation-editor/2730267/1 "2026-06-21T11:09:45Z")

</div>

# Crash when exporting a tree with custom Nanite Assemblies in Procedural Vegetation Editor (UE 5.8)

Description

I created a custom Nanite Assembly from a combination of static meshes using `Scripted Actor Actions > Nanite Assemblies > CreateNewStaticMeshAssemblyFromSelection`. The generated assembly works and renders correctly within the Procedural Vegetation Editor (PVE). However, attempting to export the tree causes Unreal Engine to crash.

> **Crash Code**
>
> > Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Containers\ContainerHelpers.cpp] [Line: 8]  
> > Trying to resize TArray to an invalid size of 18446744073709551615  
> > UnrealEditor\_Core  
> > UnrealEditor\_DynamicMesh  
> > UnrealEditor\_DynamicMesh  
> > UnrealEditor\_DynamicMesh  
> > UnrealEditor\_ModelingOperators  
> > UnrealEditor\_GeometryScriptingCore  
> > UnrealEditor\_GeometryFramework  
> > UnrealEditor\_GeometryFramework  
> > UnrealEditor\_GeometryScriptingCore  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_ProceduralVegetationEditor  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_Slate  
> > UnrealEditor\_ApplicationCore  
> > UnrealEditor\_ApplicationCore  
> > UnrealEditor\_ApplicationCore  
> > UnrealEditor\_ApplicationCore  
> > user32  
> > user32  
> > UnrealEditor\_ApplicationCore  
> > UnrealEditor  
> > UnrealEditor  
> > UnrealEditor  
> > UnrealEditor  
> > UnrealEditor  
> > UnrealEditor  
> > kernel32  
> > ntdll

### **Steps to Reproduce:**

1. Drop all assets required for the Nanite Assembly into the level (For Nanite Assemble I use Nanite meshes)
2. Run the Editor Utility Action: `'CreateNewStaticMeshAssemblyFromSelection'`

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/6/f760916694b3d0386823fac465413eb42b940fe4.png)

1. Open the Procedural Vegetation Editor, create a new Foliage Palette, and add the newly created Nanite Assembly to it. (In my case “PVE\_Sample\_Conifer\_Tree\_01” asset)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/0/25074ba35388424c061c1784295336248001b030.png)

1. Export the asset as a Skeletal Mesh with voxelized Nanite

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/9/f79187051efb51b89e3bbda5b59ac87ddf4e3e2b.png)

1. Crash

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/2/2b232eeb700be011860d47fb10fb6322ec4ef456.png)

\*\*  
Exporting as a Static Mesh\*\*: If exported as a Static Mesh instead, Unreal Engine does not crash, but the instances within the exported tree become invisible.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/9/399690891d6d9fa41676b1d71d5b1b251de5b31f.jpeg)

I tried different meshes with different settings. In this article, it’s just a group of nanite spheres created in Unreal.

The only current solution is merging the meshes into a standard Static Mesh. While this avoids the crash, it completely nullifies the benefit of creating a Nanite Assembly.

---

<div class="post-metadata">

**Author:** ![iva\_creative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iva_creative/32/1017839_2.png) [@iva\_creative](https://forums.unrealengine.com/u/iva_creative)\
**Post date:** [June 21, 2026, 12:24pm UTC](https://forums.unrealengine.com/t/crash-when-exporting-a-tree-with-custom-nanite-assemblies-in-procedural-vegetation-editor/2730267/2 "2026-06-21T12:24:24Z")

</div>

Found my mistake, it hasn’t been implemented yet:

> **Known Limitations**
> 
> These are some current limitations to be aware of:
> 
> - You cannot create assemblies of other assemblies. The system currently supports a single layer of instancing.
