Memory Leak in 4.8 from migrated maps when play in editor

I just migrated my project from 4.7.6 to 4.8 and when I tried to play in editor it leaks memory to above 10gb (around amount available) and eventually crashes.

I eventually worked out where issue was coming from, save game system. If I deleted load game from my blueprint it would work fine. I then tried deleting SAV file from hard drive but keeping load game in blueprint and it worked.

Now when a new SAV file is created and then reloaded it doesn’t have an issue.

This is obviously a bug with existing SAV files not being compatible with new 4.8 and an easy fix with just deleting it and letting a new one get created.
Not sure if there is much Epic could do about this but it might help out someone else that has same issue.

Cheers, Scott

Hi Scott,

Can you tell me if there is any log spam in your output log? This could cause issues when somebody updates a released game in future, so I want to figure this out. I’m consulting with one of our other support members who’s more familiar with save system.

-.

Hi ,

I opened session frontend and when i hit play in editor it didn’t report any output at all.
Please find attached two versions of save game file for both 4.7.6 and 4.8.
I have also included only log output, which is crash report.
I also sent crash report only moments before posting this.

Let me know if you need anything more.

Scott

Hi Scott,

How did you migrate your project? I attempted to reproduce this by creating a copy of a project with a sav file, but sav file wasn’t copied over.

Hi ,

I created a backup manually in explorer and then migrated original project, which is probably why save file didn’t move.

Okay, so I tested by creating a copy of project in Explorer and then used Switch Engine Versions to open it in 4.8. Playing in Editor with old saved file appears to freeze editor (and I will be entering a bug report for that), but I don’t see any memory leak occurring and I don’t get any crash report.

Can you upload 4.7.6 version of your project somewhere like Dropbox or Google Drive and send me a download link? Or if you can reproduce this in a new project, that would be even better. Thanks!

I’m uploading project to my dropbox atm and I will send you a PM on forums with link.
One other thing is that lighting goes funky when converting to 4.8. It looks like everything has a neon sign on it. To fix it I had to delete directional light and replace it. You might notice it also when you convert this project to 4.8.

Cheers Scott

Hi Tocs,

Thanks for project! It looks like we’re seeing same thing, though mine freezes before getting to an actual crash. same thing happened in project you sent me. I’ve created a bug report for issue UE-17600), and I’ll post here when I see a fix come through. In meantime, just be aware that .sav files from 4.7.6 will not work in 4.8. Thanks again!