Unity 5 just pissed me off big time. I back up every night, I save the project about every 30 minutes, or whenever I consider I’ve done enough work to be safe. Well I’ve been saying all day then just now Unity crashed to the desktop. Then when I re opened it ALL my last 6 hours has gone!! It seems to have reverted my project to how it was 6 hours ago when I launched unity and loaded the project.
So my question is where did it all go? Does unity keep some kind of backup and use that when it messes up? Is the last 6 hours really gone or can I recover it somehow?
So pissed at unity right now. I even have a time machine running but it never caught this.
No version control. I backup continually with a time machine backup but that only backs up about every 8 hours. every 24 hours I manually backup the project.
No I didn’t get the crash dump. It happened just as an IOS build completed. The build was successful then the editor crashed.
My question is how and why did unity revert to a version of the scene from 6 hours prior? which just happened to be about the time I initially opened the editor. I checked and all the assets were there that had been created but the scene file was hours old. it’s like either the scene wasn’t being saved on save project or save scene, or unity keeps a backup somewhere?
WHAT? Save project doesn’t save the scene?? Are you sure? the word ‘project’ would imply it saves the whole project which should include the scene. Ok I now save scene and project about every 10 minutes.
Oh I’m a one man band so don’t need version control. Backing up every 6 hours should be enough.
But to be honest “Save Project” is a confusing name for what it does and it’s not explained in the documentation as far as I can see. It’s a long standing and frequently recurring source of confusion and lost work. For example: Why do I "Save Project"? - Questions & Answers - Unity Discussions
In the Scripting API there is EditorAppliction.SaveAssets but no mention of “Save Project”. I think “Save Project” also includes saving the editor settings, so that could explain the difference in name. Or maybe the editor settings are considered a type of asset.
So why does the distinction between “Save Scene” and “Save Project” exist in the first place? There is a use-case: saving assets without saving a dirty scene.
My suggestion would be to rename the “Save Project” to “Save Assets” and add documentation about saving things in the Editor.
There needs to be a save all button. I understand that sometimes I want to save assets and not the current scene, because that’s crazy useful when just modifying a prefab, but I can’t think of a situation where you’d save a scene and not save the whole project as well. I mean, why not? I would like to request a name change and a slight functionality change:
2 Buttons as it is that say
Save Assets (Just saves modified assets without saving modified scenes)
Save All. (Saves everything).
If you have suggestions you can use http://feedback.unity3d.com/, if you feel the documentation has issues this can be reported using the bug reporter. Every little helps
I just realize there’s this on the roadmap for Unity 5.3: Multi-scene Editing. Save All is going to be confusing as that commonly refers to saving multiple documents.
Maybe…
Save myscene.unity
Save myscene.unity As…
Save All Scenes
Save Assets
Save Everything
We also have a new manual page ready for the Multi-Scene editing feature which includes info about saving and will be in the docs when the feature hits