Empty Error Log after compilation Unity 2022

Hi all,

I am having an issue and maybe someone else stumbled upon this one before:

After a random script change the Editor reload and shows an empty Error Log,

And Unity console looks like the attached image.

And in the Editor logs I see this:

/additionalfile:"Library/Bee/artifacts/1300b0aEDbg.dag/Assembly-CSharp.UnityAdditionalFile.txt"
##### Custom Environment Variables
DOTNET_MULTILEVEL_LOOKUP=0
##### ExitCode
138
*** Tundra build failed (7.68 seconds), 1 items updated, 692 evaluated
## Script Compilation Error for: Csc Library/Bee/artifacts/1300b0aEDbg.dag/Assembly-CSharp.dll (+2 others)
## CmdLine: "/Applications/Unity/Hub/Editor/2022.3.0f1/Unity.app/Contents/NetCoreRuntime/dotnet" exec "/Applications/Unity/Hub/Editor/2022.3.0f1/Unity.app/Contents/DotNetSdkRoslyn/csc.dll" /nostdlib /noconfig /shared "@Library/Bee/artifacts/1300b0aEDbg.dag/Assembly-CSharp.rsp" "@Library/Bee/artifacts/1300b0aEDbg.dag/Assembly-CSharp.rsp2"
## Output:

There is nothing major in the project, only the basics, IronSource, Payments, a couple of plugins. This started random at certain period of time but the code commits shows really basic changes during that time. I am investigating without much luck in what is the root cause.

If you reimport a script it may get to work again but will fail eventually. It happens at random after you change script code.

Any ideas into that?

How to troubleshoot build failures:

First, make a blank project with a single blank scene and prove that it builds successfully.

If the blank project does NOT build, go fix your Unity installation or your other tools, such as Android SDK, NDK, JDK, etc. It may even be necessary to change to a different version of Unity3D. It is generally best to stay with LTS versions of Unity3D.

Until you can build a blank project to the target platform, don’t fiddle with anything else.

Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.

Most often things that prevent building are third-party libraries such as Firebase.

Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.

It may also be helpful to work through a tutorial or two for whatever subsystem is making the build fail.

Android build not building:

Recently (circa July 2022) there have been reports of Unity’s installer failing to install the Android Tools.

Here was how I brought up Unity2020.3.41 and the Android SDK 31 on October 30, 2022:

Android Gradle errors and other related stuff:

I‘d go for deleting the Library folder to see if that fixes it.
If not, check if there is an updated patch level of your current Unity version and upgrade to that.