# Large amount of foliage saving

**URL:** <https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786>\
**Category:** Architectural and Design Visualization\
**Tags:** archviz, unreal-engine, UE5-0\
**Created:** [April 29, 2022, 1:36pm UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786 "2022-04-29T13:36:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [April 29, 2022, 1:36pm UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/1 "2022-04-29T13:36:54Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/c/50c1cb3ed50f0c553ac1e56ad2f7d0868d8a56d8.jpeg)

Saving project with a lot of foliage takes ages to complete. The example in the picture contains over 2.5 mil. foliage objects. Performance is fine, but even if I don’t change anything on the foliage it makes saving the project painfully slow.

I tried to make the terrain object (static mesh) an instanced packed level hoping it won’t force resaving the foliage, but that didn’t help. Is there a workaround or another way of populating scene with a ton of objects?(one that won’t make unreal halt for full 2 min. whilst saving)

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [April 30, 2022, 5:22am UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/2 "2022-04-30T05:22:52Z")

</div>

Maybe put that in a separate level? So you don’t need to save it if it hasn’t changed.

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [April 30, 2022, 1:05pm UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/3 "2022-04-30T13:05:10Z")

</div>

Ok well that makes sense but then how do I get it to render in another level? Sorry this instanced level thing is kinda alien concept to me.

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [May 1, 2022, 9:07am UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/4 "2022-05-01T09:07:22Z")

</div>

See a sub level as a layer. Check the unreal documentation for details. Once you added a sub level you can set the streaming method in the level browser to always loaded. Or you need a blueprint to load it at runtime.  
With foliage you would need to have the base mesh and the foliage in the same level. Otherwise you may lose all your foliage. So before you do anything make a back up copy.

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [May 1, 2022, 11:22am UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/5 "2022-05-01T11:22:16Z")

</div>

Thanks a lot. I’m going to check that out!

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [May 2, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/6 "2022-05-02T14:42:03Z")

</div>

Alright so I learned that instanced level works for this, but I had to turn the base mesh into instanced level first and then go into edit mode and do the foliage.

Foliage will not go into the instanced level via conversion. Has to be done afterwards.

I hope 5.1 will improve large amounts of foliage anyways, cause the performance drop and memory consumption after few hundred thousand objects is pretty drastic.

---

<div class="post-metadata">

**Author:** ![S-Dot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-dot/32/1194599_2.png) [@S-Dot](https://forums.unrealengine.com/u/S-Dot)\
**Post date:** [May 2, 2022, 10:47pm UTC](https://forums.unrealengine.com/t/large-amount-of-foliage-saving/543786/7 "2022-05-02T22:47:19Z")

</div>

What I usually do is leave the foliage in the original level and then copy everything else into a new level. You can use ctrl+c/v or use ‘move select actor to this level’ in the level browser.

I have only the player start in the persistent level and put everything else into sub levels (eg. building, furniture, decoration, exterior)

If you want to render a movie you would need a separate persistent level that auto-starts the movie. So it’s good to not have much in the persistent levels. At least that’s how it was in previous unreal engine versions.

It’s also good if more than one person work on a project.
