Unity deleted entire project... again.

Before anyone posts to say it, yes, I have backups and source control, so that’s not an issue. :stuck_out_tongue:

This is the second time that Unity has, seemingly randomly, deleted the entire project folder except for ProjectSettings, Library, and Temp for no apparent reason. This time I deleted an empty folder in the project hierarchy in the editor, something I’ve done a million times before, and Unity hung. I killed it in task manager, and the entire project was deleted. This is a huge annoyance… last time I lost quite a bit of work. The last time I thought maybe somehow I had written to the folder from an editor script, but this time I’m sure it was just Unity as nothing else was going on. Anyone have any idea what causes this and how to avoid it?

Same has just happened to me, lost around 70 hours of work and cannot get it back. What an insane bug, it even deleted all the files in the root of my project except for the same ones as you. I am absolutely gutted.