Hi,
I tried finding information about this in the forum and only saw a known issue about using IL2CPP on Big Sur not working but I’m using Mono and it is giving me a Burst exception and I’m not sure what to do about it, I only have access to one Mac machine that since I need to test the project on it I need it running Big Sur, does building a Mac project not work right now? Is there any work around for it? If possible I’m trying to avoid updating for any version that is not LTS since I don’t want things to break on the project because I’m upgrading Unity.
Errors I’m getting:
Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/hostlin/lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -sdk_version 10.9 -r -dylib -o "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated.bundle" "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/libs/burstRTL_m64.a" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_3.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_0.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_2.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_5.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_4.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_7.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_6.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1_merged.o""
at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool (System.String command, System.String arguments, System.String errorMessage, System.String commandType, System.String workingDirectory, System.Boolean muteOutputs) [0x000d0] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotNativeLinkLLVMMacOS.Link (Burst.Backend.TargetCpu targetCpu, System.Collections.Generic.List`1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x00118] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotCompiler.Link (System.Collections.Generic.List`1[T] groups, System.String nameSuffix, Burst.Compiler.IL.Aot.AotCompilerOptions compilerOptions, System.IO.TextWriter consoleOut, System.IO.TextWriter consoleError) [0x001f8] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Bcl.BclApp+LibraryThread.Process (Burst.Bcl.BclApp+LibraryCompilationRequest libraryRequest) [0x00440] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at Burst.Bcl.BclApp+LibraryThread.Run () [0x0001a] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
[ERROR] FATAL UNHANDLED EXCEPTION: Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/hostlin/lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -sdk_version 10.9 -r -dylib -o "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated.bundle" "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/libs/burstRTL_m64.a" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_3.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_0.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_2.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_5.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_4.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_7.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_6.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1_merged.o""
at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool (System.String command, System.String arguments, System.String errorMessage, System.String commandType, System.String workingDirectory, System.Boolean muteOutputs) [0x000d0] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotNativeLinkLLVMMacOS.Link (Burst.Backend.TargetCpu targetCpu, System.Collections.Generic.List`1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x00118] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotCompiler.Link (System.Collections.Generic.List`1[T] groups, System.String nameSuffix, Burst.Compiler.IL.Aot.AotCompilerOptions compilerOptions, System.IO.TextWriter consoleOut, System.IO.TextWriter consoleError) [0x001f8] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Bcl.BclApp+LibraryThread.Process (Burst.Bcl.BclApp+LibraryCompilationRequest libraryRequest) [0x00440] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at Burst.Bcl.BclApp+LibraryThread.Run () [0x0001a] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
BuildFailedException: Burst compiler (1.3.7) failed running
stdout:
stderr:
/bin/sh: ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/hostlin/lld: cannot execute binary file
Unhandled Exception:
Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/hostlin/lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -sdk_version 10.9 -r -dylib -o "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated.bundle" "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/libs/burstRTL_m64.a" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_3.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_0.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_2.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_5.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_4.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_7.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_6.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1_merged.o""
at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool (System.String command, System.String arguments, System.String errorMessage, System.String commandType, System.String workingDirectory, System.Boolean muteOutputs) [0x000d0] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotNativeLinkLLVMMacOS.Link (Burst.Backend.TargetCpu targetCpu, System.Collections.Generic.List`1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x00118] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotCompiler.Link (System.Collections.Generic.List`1[T] groups, System.String nameSuffix, Burst.Compiler.IL.Aot.AotCompilerOptions compilerOptions, System.IO.TextWriter consoleOut, System.IO.TextWriter consoleError) [0x001f8] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Bcl.BclApp+LibraryThread.Process (Burst.Bcl.BclApp+LibraryCompilationRequest libraryRequest) [0x00440] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at Burst.Bcl.BclApp+LibraryThread.Run () [0x0001a] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
[ERROR] FATAL UNHANDLED EXCEPTION: Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/hostlin/lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 -sdk_version 10.9 -r -dylib -o "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated.bundle" "ProjectFolder/Library/PackageCache/com.unity.burst@1.3.7/.Runtime/libs/burstRTL_m64.a" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_3.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_0.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_2.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_5.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_4.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_7.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_6.o" "ProjectFolder/Temp/Burst/burst-aotz5txdhr1.3ag/lib_burst_generated_part_1_merged.o""
at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool (System.String command, System.String arguments, System.String errorMessage, System.String commandType, System.String workingDirectory, System.Boolean muteOutputs) [0x000d0] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotNativeLinkLLVMMacOS.Link (Burst.Backend.TargetCpu targetCpu, System.Collections.Generic.List`1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x00118] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Compiler.IL.Aot.AotCompiler.Link (System.Collections.Generic.List`1[T] groups, System.String nameSuffix, Burst.Compiler.IL.Aot.AotCompilerOptions compilerOptions, System.IO.TextWriter consoleOut, System.IO.TextWriter consoleError) [0x001f8] in <9b99a8d26a5f43d4ad1097789969a537>:0
at Burst.Bcl.BclApp+LibraryThread.Process (Burst.Bcl.BclApp+LibraryCompilationRequest libraryRequest) [0x00440] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at Burst.Bcl.BclApp+LibraryThread.Run () [0x0001a] in <52cdf9e3a3c345ba8ab16cad75b48614>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.7/Editor/BurstAotCompiler.cs:856)
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.7/Editor/BurstAotCompiler.cs:794)
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.7/Editor/BurstAotCompiler.cs:768)
Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.7/Editor/BurstAotCompiler.cs:441)
Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.7/Editor/BurstAotCompiler.cs:163)
UnityEditor.Build.BuildPipelineInterfaces.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:487)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)