[4.12.5] Crash while saving the level

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?

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

Here it is:

MachineId:23122A9E4E2C454D44969491B1CE8AAA

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

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!

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.

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.

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

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

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.

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.

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!

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…