# \[4.12.5\] Crash while saving the level

**URL:** <https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369>\
**Category:** Platform & Builds\
**Tags:** save-level, procedural-foliage, unreal-engine, crash, question\
**Created:** [August 7, 2016, 10:24am UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369 "2016-08-07T10:24:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 7, 2016, 10:24am UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/1 "2016-08-07T10:24:11Z")

</div>

My map keeps on crashing each time I try to save it after resimulating Procedural Foliage. It worked fine before, but after 16 procedural foliage volumes it just crashes if I resimulate any more and save the level. Is it a bug from the Procedural Foliage or is it because of the filesize (2-3gb it hovers a lot) or something else I’m missing?

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 8, 2016, 1:11pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/2 "2016-08-08T13:11:21Z")

</div>

Hello,

Could you please cause the crash again and provide the following:

- Your Machine ID from the Crash Reporter window and ensure to hit Send & Close on the report.
- The logs from your project’s Saved-\>logs folder

---

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 8, 2016, 1:33pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/3 "2016-08-08T13:33:59Z")

</div>

Here it is:

MachineId:23122A9E4E2C454D44969491B1CE8AAA

The logs are on a zip because the log size is about 88mb so… yea

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 8, 2016, 1:39pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/4 "2016-08-08T13:39:22Z")

</div>

Thanks for the information.

I have a few more questions:

- Does this only occur when saving that specific map?
- Have you been able to reproduce this in a clean project?
- If so, please provide a detailed list of repro steps.
- Does this occur if you open a copy of the project in the 4.13 Preview as well?

Thanks!

---

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 8, 2016, 2:12pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/5 "2016-08-08T14:12:23Z")

</div>

Yes its only saving this map, which is also the only one using the Procedural Foliage. I cannot reproduce this in other maps cause I simply dont have the time. The map size is immense to reproduce. I could provide steps to reproduce it at the time. I have about 20 Procedural Foliage Volumes (of considerable size), and about 10 are simulated, if I try to simulate one more and save, it crashes at 56% in the saving process (at processingexports I think)  
Testing in preview 13 is also out of my reach atm.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 8, 2016, 3:50pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/6 "2016-08-08T15:50:38Z")

</div>

Thanks for providing that additional information, I’ll go ahead and spend some time trying to reproduce the crash and I’ll get back to you if I need additional information, or as soon as I have a consistent repro.

---

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 9, 2016, 7:24am UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/7 "2016-08-09T07:24:28Z")

</div>

so today I managed to resimulate 1 and saved successfuly, but as soon as I do another one, it crashes when saving again, this time at 100% progress and in the log the same thing appears always in the end: Assertion failed: NewPosition \>= 0 [File:D:\Build++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformFile.cpp] [Line: 452]

all the crashed logs have this, not sure if its helpfull or not

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 9, 2016, 5:21pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/8 "2016-08-09T17:21:46Z")

</div>

Could you provide the project that is crashing? You can zip it up, upload it to Dropbox, and PM me a link on the forums: [https://forums.unrealengine.com/member.php?160394-Sean-Flint](https://forums.unrealengine.com/member.php?160394-Sean-Flint)

That way I can take a closer look at the setup, as I’ve been unable to reproduce it in a clean project on my end thus far.

---

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 9, 2016, 6:03pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/9 "2016-08-09T18:03:49Z")

</div>

Sorry, but that’s a no-go, its a commercial project with over 30gb in content… I did however find a solution: place lots of small volumes instead of big ones, it appears to solve the issue. With big volumes, even if my ram can handle it I simply could not save anymore, but with small ones it seems to work good thus far.  
I recon it may be an issue with big foliage volumes and/or a big landscape (6x6km). I hope I could add something more usefull to maybe provide a future hotfix for everyone that may encounter this issue, but I dont have any ther info atm. I’ll add it in this page if I find something helpfull in the future. Thanks for the help Sean.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 9, 2016, 6:08pm UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/10 "2016-08-09T18:08:16Z")

</div>

Glad you were able to find a solution. If you do ever run into any further information, feel free to come back and update this post.

Have a great day!

---

<div class="post-metadata">

**Author:** ![popifrex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@popifrex](https://forums.unrealengine.com/u/popifrex)\
**Post date:** [August 10, 2016, 6:26am UTC](https://forums.unrealengine.com/t/4-12-5-crash-while-saving-the-level/366369/11 "2016-08-10T06:26:08Z")

</div>

Hi again Sean! Seems that the small volumes thing does not work anymore. Is there any limit to procedural voliage or filesize limit (on a level) that I should be aware of? It also seems that saving the level maxes out my ram (the whole 16gb of it)

Now it is working again… something is off about this…
