Unity hub 2.2.0 breaks unity

This morning I installed unity hub 2.2.0.
Since then, any project I open is not compiling anymore.
All I can see are 2 empty errors in the editor. In the EditorLog, no errors are shown.

This didn’t happen straight away but only after a few hours.

Unity version: 2019.2.8f1

Things I’ve tried:

  • Switch target platform
  • wipe Library folder
  • clear package cache in %APPDATA%
  • Reinstall unity
  • Restart computer

After uninstalling the hub and launching the project directly from the Unity executable, I could finally compile my game again.

Here is an interesting snippet from my editor log that stood out:

-----CompilerOutput:-stdout--exitcode: 9009--compilationhadfailure: True--outfile: Temp/UnityEngine.TestRunner.dll
-----CompilerOutput:-stderr----------
'"F:\Unity\2019.2.8f1\Editor\Data\Tools\RoslynScripts\..\..\Tools\Roslyn\csc"' is not recognized as an internal or external command,
operable program or batch file.
-----EndCompilerOutput---------------

I reported this through the unity bug reporter:
fogbugz.unity3d.com/default.asp?1201699_0mea5sfoec8duvol

2 Likes

There is a related post in another unity forum:

Thank you for crosslinking. It’s indeed exactly the same issue.