Unreal Engine corrupts files on crash / shut off

Not sure if this is a bug or I’m doing something wrong but…

Throughout my project I’ve had 2 crashes and one power outage (yikes lightning storm).

Every single time one of these has happened, UE cannot access specific files from the source control…

Only specific files weirdly enough. I remember saving too, yet when this happens some of my files just “vanish”.

I looked at a post that said to take files from the “backup” folder inside of the Saved folder in my project. There is no “backup” folder… there is an “autosaves” however the latest a file is saved there is yesterday… when I’ve been working for an hour and had autosaves every 10 minutes. Thankfully my hour of work isn’t gone, it’s just a few files that I can remake. But this may become problematic so I’m wondering if this is a bug and if so is there a workaround of some sort?

I changed my autosave to 5 minutes instead of 10.

Hey there @Scarlet012! Previously there was a complete backup system that ran every time you hit save on an object and there was the autosave system.

I believe the older backup system itself was deprecated in favor of the new autosave system, however I cannot confirm this other than that no project of mine contains the old backup folders. Autosave is effectively the same but less common intervals and you have to manually dig into the missing files and bring it back. The old plugin disaster recovery was useful for assisting in full crashes as well, but that hasn’t made the jump over to UE5 yet.

1 Like

Thanks a lot for the insight. Hoping this gets resolved or improved over time.

That’s the worst thing you can do IMHO, do yourself a favor and disable the autosave (and take the habit to save frequently, and periodically backup the entire project with source control or zipping it)

Honestly I don’t Remember a single time in which the autosave helped me recover anything, that’s the first thing I disable when I start a new project, it also slows you down a lot if you run it every five minutes (and I don’t like to be interrupted while I’m working)

Agree, I will probably do that. Thank you!

I’ve got the project on git now. Problem is, if a crash happens in between pushes I’m SOL but at least I won’t lose everything.

1 Like