Accidentally dropped folder on itself, now entire project is broken

I accidentally dragged a folder and dropped it on itself in the project window. Unity went into an infinite loop and I had to force quit, after which I couldn’t open the project again because Unity would display the familiar “Hold on. Compiling scripts” message and go no further.
In windows explorer I saw that the folder had been recursively created a few hundred times so I tried to delete (not put in recycle bin) the top-most folder but Windows told me that the file name was too long and couldn’t be moved to the desired location…
I got around this by shredding the folder with AVG but I still get the “Compiling scripts” message and can’t open the project.

Does anyone know how/if I can get this project back in working order?

Unity 5.1.0p1 personal
Windows 7

Yikes, sounds like an awful thing to go through =(

It’s a bit of a long-shot, but you could try deleting your Library folder in your project then open the project (the library folder will rebuild itself). Best of luck!

@Gcs_deV - that sounds appalling… and I can understand you being horrified. So, two things:

a) Revert to your backup. (If you don’t have your project backed up, then you’ve learned an important lesson.)

b) Replicate this with a trivially small project, and then submit it as a bug report. When you have a bug number, PM me and I’ll prod the QA team.

Thank you for answering! Deleting the Library folder did indeed allow me to recover the project. Many, many thanks!

@Graham-Dunnett
Done and done. Gambit MSplitz helped me recover the project but I thought I should file a bug report in any case.

Thank you both for your answers!
Crisis averted!

1 Like