Burst compiler (1.8.18) failed running

When I build for android I encountered this error message : Burst compiler (1.8.18) failed running
, and build failed.

my game runs on editor well. Please help me…
log is here.

ExitCode: 3 Duration: 3m:50s
Unloading 893 Unused Serialized files (Serialized files now loaded: 0)
Unloading 4531 unused Assets / (70.3 MB). Loaded Objects now: 15927.
Memory consumption went from 1.04 GB to 0.97 GB.
Total: 54.111300 ms (FindLiveObjects: 2.763500 ms CreateObjectMapping: 1.190400 ms MarkObjects: 40.891500 ms  DeleteObjects: 9.264800 ms)

Build Finished, Result: Failure.
##utp:{"type":"PlayerBuildInfo","version":2,"phase":"Immediate","time":1728221529370,"processId":32160,"steps":[{"description":"Preprocess Player","duration":1388},{"description":"Prepare For Build","duration":1647},{"description":"ProducePlayerScriptAssemblies","duration":42038},{"description":"Verify Build setup","duration":47},{"description":"Prepare assets for target platform","duration":368},{"description":"Prepare splash screen","duration":0},{"description":"Building scenes","duration":9396},{"description":"Build scripts DLLs","duration":410},{"description":"Build GlobalGameManagers file","duration":94},{"description":"Writing asset files","duration":2205},{"description":"Building Resources/unity_builtin_extra","duration":95},{"description":"Creating compressed player package","duration":394},{"description":"Write data build dirty tracking information","duration":374},{"description":"Postprocess built player","duration":255772}],"duration":314228}
[PhysX] Initialized MultithreadedTaskDispatcher with 12 workers.
[PhysX] Initialized MultithreadedTaskDispatcher with 12 workers.
Total cache size 267874266
Total cache size after purge 267874266
Unloading 324 Unused Serialized files (Serialized files now loaded: 0)
Loaded scene 'Temp/__Backupscenes/0.backup'
	Deserialize:            655.193 ms
	Integration:            170.908 ms
	Integration of assets:  10.327 ms
	Thread Wait Time:       -0.086 ms
	Total Operation Time:   836.343 ms
Unloading 0 unused Assets / (84.8 KB). Loaded Objects now: 17013.
Memory consumption went from 0.92 GB to 0.92 GB.
Total: 38.456400 ms (FindLiveObjects: 1.393300 ms CreateObjectMapping: 0.671900 ms MarkObjects: 36.325900 ms  DeleteObjects: 0.064700 ms)

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

stdout:
Starting 1 library requests
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) [0x00224] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:1998 
  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) [0x00087] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:1856 
  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) [0x00000] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:1817 
  at Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (Unity.Burst.Editor.BurstAotCompiler+BurstAOTSettings settings, UnityEditor.Compilation.Assembly[] playerAssemblies) [0x009b5] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:912 
  at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.DoGenerate (UnityEditor.Compilation.Assembly[] assemblies) [0x00013] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:353 
  at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.GenerateNativePluginsForAssemblies (UnityEditor.Build.IGenerateNativePluginsForAssemblies+GenerateArgs args) [0x0006a] in .\Library\PackageCache\com.unity.burst@1.8.18\Editor\BurstAotCompiler.cs:192 
  at UnityEditor.Modules.BeeBuildPostprocessor.GenerateNativePluginsForAssemblies (PlayerBuildProgramLibrary.Data.GenerateNativePluginsForAssembliesArgs args) [0x00050] in <0e74aaecc5d24ba79f82222a4901f731>:0 
  at Bee.BeeDriver.BuildRequest+<>c__DisplayClass63_0`1[T].<RegisterRPCCallback>b__0 (System.Object o) [0x00000] in <445eed50cdc447359c093fd5f5a8e292>:0 
  at Bee.BeeDriver.BeeDriver_RunBackend+<>c__DisplayClass1_0.<ProcessRPCRequest>b__0 () [0x00021] in <445eed50cdc447359c093fd5f5a8e292>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <31687ccd371e4dc6b0c23a1317cf9474>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <31687ccd371e4dc6b0c23a1317cf9474>:0 
--- End of stack trace from previous location where exception was thrown ---

What I’ve tried,

  1. clean build
  2. remove library, obj folder
  3. update hub(3.9.1) and reinstall editor(2022.3.49), burst, entities(1.3.2) package
  4. build with other version editor, (2022.3.43f, 2022.3.37f)
  5. Reimport all

Thanks.

1 Like

Hi, can you file a bug report with your project attached? Then we can have a closer look:)

1 Like

Thanks for reply, MarcoPersson.
I did report, and I got some number CASE IN-86100.
I hope you can find and solve it.

Same error, same Burst version. I’m building for Linux on Unity 6000.0.23f1. This project built fine with the same code in previous versions of Unity.