Help, my Unity stopped compiling all together.
I was just cleaning up, deleting some unused scipts, and now unity is not compiling anymore at all.
Visual studio says, upon hitting cmd+k: “Build succesful” but already after a split second, obviously not doing anything.
Pressing Play on unity gives me no error messages, even if i have obvious errors in the code.
I deleted the Library/ScriptAssemblies folder and it tells me all my scripts are missing, but nothing is compiled?
restarted computer already
I use untiy 2019.3.0a5 Personal
VisualStudio 7.7.4 Community
MacOS Mojave 10.14.4
Try deleting the whole library folder just to be sure. That will force a re-import of all your items in the asset folder.
Thanks, but never mind.
Apparently it was a hardware problem. Not the first time this has happened to me.
Those Flash-Harddisks just sometimes mess up and render the files illegible. When I continued to try to fix it, there where suddenly some very serious errors and then the whole Project folder just disappeared into nowhere. Boom, all files irretrievably gone!
$#%
Dam
For the future, I would suggest using Github for Desktop. And make a repo for every project you start. That way its stored safely in the cloud.
Good luck buddy!
1 Like
Sorry to hear, but what @Cyber-Dog said above is spot-on: git works really good with Unity and there’s tutorials.
But definitely fix the hardware error first. Those are rare! Usually it’s actually just software that borked everything, 99.99% of the time anyway.