ScriptCompilation: Csc hang

macOS 14.0 (23A344)
Unity Editor 2022.3.12f1
latest dots release packages

I’m experiencing an intermittent Unity Editor hang during ScriptCompilation of my main assembly.
When hung, the Unity Editor.log last few lines are like so:
[40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/Ping application/grpc - [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'gRPC - /UnityILPP.PostProcessing/Ping' [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint 'gRPC - /UnityILPP.PostProcessing/Ping' [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/Ping application/grpc - - 200 - application/grpc 0.2567ms Starting: /Applications/Unity/Hub/Editor/2022.3.12f1/Unity.app/Contents/bee_backend --dont-print-to-structured-log --ipc --defer-dag-verification --dagfile="Library/Bee/200b0aEDbg.dag" --continue-on-failure --profile="Library/Bee/backend1.traceevents" ScriptAssemblies WorkingDir: /Users/kirk/Repos/EphiBL/FuryPrototype ASSEMBLY OVERRIDES: GetUnityAssemblies (AO allowed YES) found 84 unity assemblies, with 0 overrides and 0 override candidates [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc - [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors' [40m[32minfo[39m[22m[49m: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0] Current configuration matches the requested one, skipping [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors' [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc - - 200 - application/grpc 0.7565ms ASSEMBLY OVERRIDES: GetUnityAssemblies (AO allowed YES) found 84 unity assemblies, with 0 overrides and 0 override candidates

A successful compilation just prior to the hang compilation looks like this:
[40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc - [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors' [40m[32minfo[39m[22m[49m: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0] ALC ILPP context 1 is unloading [40m[32minfo[39m[22m[49m: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0] Resolved Unity.Burst.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e with Library/PackageCache/com.unity.burst@1.8.9/Unity.Burst.CodeGen/Unity.Burst.Cecil.dll [40m[32minfo[39m[22m[49m: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0] Resolved Mono.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e with Library/PackageCache/com.unity.nuget.mono-cecil@1.11.4/Mono.Cecil.dll [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors' [40m[32minfo[39m[22m[49m: Microsoft.AspNetCore.Hosting.Diagnostics[2] Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc - - 200 - application/grpc 37.3677ms ExitCode: 3 Duration: 29s Finished compiling graph: 1315 nodes, 25135 flattened edges (18037 ToBuild, 250 ToUse), maximum node priority 2085 [ 146/1312 0s] WriteText Library/Bee/artifacts/200b0aEDbg.dag/Unity.Mathematics.Extensions.rsp [ 149/1312 0s] WriteText Library/Bee/artifacts/200b0aEDbg.dag/UnityEditor.TestRunner.rsp

I’ve started enabling diagnostics, but I’m not sure which ones could help me discover the issue.
Thank you

I’m also facing the same problem, and it’s driving me crazy. Every time I make a code change, I have to exit Unity and delete certain folders in the Library to resolve it.

I updated the Editor to 2022.3.13f1 and dots packages to 1.2.0-pre.3 and my issues have been resolved.

I started by deleting Library folder(s), then I found a workaround…

Quit Unity Editor
delete a } in a file to cause a compile error, save file.
Open Unity Editor
Ignore Safe Mode and let it load in the project.
undo the deletion of the } to ‘resolve’ the compile error, save file
When Unity Editor reimports and compiles that file it should get past the hang this time…

you should be free to work until it hangs again… then repeat the process.

beats having to delete library folders.