The thread title is self-explanatory. I opened my project today and had no problems going into Play Mode. However, upon making a single change in script (no errors) and saving the file I got the error I screenshotted below.
What’s even more interesting, I made a new project and as soon as I saved a script I encountered the exact same problem. Tried it in versions 2019.2.9f1, 12f1, 13f1 and 14f1.
This couldn’t have happened at a worse moment, so I would appreciate ANY kind of help.
Replying to my own post, for I have found a solution.
Roslyn csc was the problem, as the Unity Hub has problems finding it for some bizarre reason.
Opening the project with the command line solves everything. Avoid the Hub like fucking fire.
Unity is seriously messing me up this week. The Hub has been preventing me from working smoothly. It is getting ridiculous. My entire projeect cant compile now because of the Hub update
Ok, wow, yeah. Uninstalling the Hub and opening the appropriate Unity version manually seems to have done the trick.
You, sir, are a scholar and a saint. That was driving me mad.