Blank compiler errors

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.


The error could not be cleared and upon clicking “Play” logged some additional info:

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.

2 Likes

I have had the same mistakes all day. In my case, it turned out to be the last update of Unity Hub.
Uninstalling Unity Hub, errors have disappeared.

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.

I’ve been trying to fix this for over an hour and this worked, thank you so much.

Faced this bug few months ago… Couldnt fix it until now… uninstalling that Damn Hub resolved it. :facepalm: Good work Unity !!! Awesome bug fixing !!!