UnityEditor.Build.BuildFailedException: Burst compiler (7a907cf5a459) failed running

Hi all,

While building a game I had some bigger/lesser problems. After those were resolved building new versions was a blessing. But now, out of nowhere I’m getting new error which tells me completly nothing:

Build completed with a result of 'Failed' in 33 seconds (32503 ms)
Building Library\Bee\artifacts\Android\AsyncPluginsFromLinker failed with output:
UnityEditor.Build.BuildFailedException: Burst compiler (7a907cf5a459) failed running

stdout:
stderr:

  at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Boolean unreliableExitCode) [0x00267] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:2032 
  at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] environment) [0x0009f] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:1890 
  at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] environment) [0x00001] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:1851 
  at Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (Unity.Burst.Editor.BurstAotCompiler+BurstAOTSettings settings, UnityEditor.Compilation.Assembly[] playerAssemblies) [0x00b3b] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:912 
  at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.DoGenerate (UnityEditor.Compilation.Assembly[] assemblies) [0x0001b] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:353 
  at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.GenerateNativePluginsForAssemblies (UnityEditor.Build.IGenerateNativePluginsForAssemblies+GenerateArgs args) [0x00074] in .\Library\PackageCache\com.unity.burst@7a907cf5a459\Editor\BurstAotCompiler.cs:192 
  at UnityEditor.Modules.BeeBuildPostprocessor.GenerateNativePluginsForAssemblies (PlayerBuildProgramLibrary.Data.GenerateNativePluginsForAssembliesArgs args) [0x00050] in <2f9d421960d84dffaa88793de0f4b5f3>:0 
  at Bee.BeeDriver.BuildRequest+<>c__DisplayClass63_0`1[T].<RegisterRPCCallback>b__0 (System.Object o) [0x00000] in <7d8d20144c904091b348a66cb66d50f4>:0 
  at Bee.BeeDriver.BeeDriver_RunBackend+<>c__DisplayClass1_0.<ProcessRPCRequest>b__0 () [0x00021] in <7d8d20144c904091b348a66cb66d50f4>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <191a1970a53948f9819ac1d2e4f5c72e>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <191a1970a53948f9819ac1d2e4f5c72e>:0 
--- End of stack trace from previous location where exception was thrown ---

  at Bee.BeeDriver.BeeDriver_RunBackend.ProcessRPCRequest (Bee.BinLog.RPCActionMessage msg, Bee.BeeDriver.BuildRequest+RPCCallback rpcCallback, IPCConnection ipcConnection, System.Threading.Tasks.Task writePipeConnectionTask, Bee.BeeDriver.InternalState state) [0x00102] in <7d8d20144c904091b348a66cb66d50f4>:0 
0x00007ffdb0517e8d (Unity) StackWalker::ShowCallstack
0x00007ffdb0527e49 (Unity) PlatformStacktrace::GetStacktrace
0x00007ffdb179352e (Unity) Stacktrace::GetStacktrace
0x00007ffdb1d3b90f (Unity) DebugStringToFile
0x00007ffdaf63ec75 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x00000272ac1dfa9e (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Bindings.ManagedSpanWrapper&,intptr)
0x00000272ac1df8a3 (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x00000272ac1df55b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x00000272ac1de9de (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x00000273eb66c99a (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x00000273c1b11cbb (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x00000273c1b038ab (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x00000273c1b02e9b (Mono JIT Code) UnityEditor.Build.Profile.BuildProfileModuleUtil:CallInternalBuildMethods (bool,UnityEditor.BuildOptions)
0x00000273c1b02d73 (Mono JIT Code) UnityEditor.Build.Profile.BuildProfileWindow/<>c__DisplayClass41_0:<OnBuildButtonClicked>b__0 ()
0x00000272d42004f8 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallDelayFunctions ()
0x00000273f8ff8fc5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007ffdadd368de (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffdadc78404 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ffdadc784f0 (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007ffdb043c1b4 (Unity) scripting_method_invoke
0x00007ffdb0413f43 (Unity) ScriptingInvocation::Invoke
0x00007ffdb040f205 (Unity) ScriptingInvocation::Invoke<void>
0x00007ffdb058282b (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallDelayFunctions
0x00007ffdb11a3514 (Unity) Application::TickTimer
0x00007ffdb179822a (Unity) MainMessageLoop
0x00007ffdb179def4 (Unity) UnityMain
0x00007ff73b982fba (Unity) __scrt_common_main_seh
0x00007ffeaa727374 (KERNEL32) BaseThreadInitThunk
0x00007ffeabc5cc91 (ntdll) RtlUserThreadStart

I tried with deleting Library/ obj/ but after project rebuild problem still exists.
I also tried with unchecking Jobs → Burs → Enable Compilation. Ideas?

Project Settings → Burst AOT settings → Disable Burst Compilation. Build worked and game is fine.

Hello @DeeSStudios, are you running the newest version of Burst?
If not, try upgrading it. If that still doesn’t fix it, you report a bug and attach a project that reproduces this issue. Then we can look further into it.

You can post the bug report number here, then we can get it assigned to our team quicker:)