Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Fresh URP sample project causes "Unexpected exception Burst.Compiler.IL.Aot.AotLinkerException".

Discussion in '2021.2 Beta' started by ZoutigeWolf, Aug 28, 2021.

  1. ZoutigeWolf

    ZoutigeWolf

    Joined:
    May 20, 2021
    Posts:
    1
    Hello,
    I created a new URP sample project in unity version 2021.2.0b9.3335 and i got this error. It occured when i loaded the project without changing or adding anything.

    Full error:

    Unexpected exception Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed Error while executing command: D:\Unity Projects\ZoutigeWolf's Attack on Titan Sandbox\Library\PackageCache\com.unity.burst@1.6.0-pre.2\.Runtime\hostwin\lld -flavor link /dll /DEBUG /pdb:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\f55d390150dda68cf0fbd010ba1f845c.pdb" /pdbaltpath:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Library\\BurstCache\\JIT\\f55d390150dda68cf0fbd010ba1f845c.pdb" /noentry /nodefaultlib /out:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\f55d390150dda68cf0fbd010ba1f845c.dll" "D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Library\\PackageCache\\com.unity.burst@1.6.0-pre.2\\.Runtime\\libs\\burstRTL_w64.lib" /threads:1 "D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\lib_burst_generated_part_.obj". Check previous exception in the log - linker command line : "D:\Unity Projects\ZoutigeWolf's Attack on Titan Sandbox\Library\PackageCache\com.unity.burst@1.6.0-pre.2\.Runtime\hostwin\lld -flavor link /dll /DEBUG /pdb:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\f55d390150dda68cf0fbd010ba1f845c.pdb" /pdbaltpath:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Library\\BurstCache\\JIT\\f55d390150dda68cf0fbd010ba1f845c.pdb" /noentry /nodefaultlib /out:"D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\f55d390150dda68cf0fbd010ba1f845c.dll" "D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Library\\PackageCache\\com.unity.burst@1.6.0-pre.2\\.Runtime\\libs\\burstRTL_w64.lib" /threads:1 "D:\\Unity Projects\\ZoutigeWolf's Attack on Titan Sandbox\\Temp\\Burst\\burst-aotcbcxxiid.v67\\lib_burst_generated_part_.obj""
    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) [0x0008b] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Aot.AotNativeLinkLLVMWindows.Link (Burst.Backend.TargetCpu targetCpu, System.Collections.Generic.List`1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x001b0] in <bace72e1c28441d0baf49fb4f0772068>: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 <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.Providers.BaseOnDiskProvider.CommonDiskCompileModule (Burst.Backend.Module module, Burst.Compiler.IL.NativeCompiler nativeCompiler, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Jit.JitOptions jitOptions, Burst.Compiler.IL.Helpers.Hash128& moduleHash) [0x000ce] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.Providers.OnDiskJitProvider.BeginCompileModule (Burst.Backend.Module module, Burst.Compiler.IL.NativeCompiler nativeCompiler, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Jit.JitOptions jitOptions, Burst.Compiler.IL.Helpers.Hash128& moduleHash, Burst.Compiler.IL.Jit.JitCacheManager jitCacheManager, Burst.Compiler.IL.Jit.GetExternalFunctionPointerDelegate getExternalFunctionPointer, System.Action& invokeBurstInitialize) [0x00000] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.JitCompiler.CompileMethodInternal (Burst.Compiler.IL.Jit.JitResult result, System.Collections.Generic.List`1[T] methodsToCompile, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x0068f] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (Mono.Cecil.MethodReference[] methodReferences, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x001d9] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Mono.Cecil.MethodReference methodReference, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x0001c] in <bace72e1c28441d0baf49fb4f0772068>:0
    at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.<Compile>b__21_0 (Burst.Compiler.IL.Jit.JitCompiler jitCompiler, Mono.Cecil.MethodReference methodRef, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x00017] in <bace72e1c28441d0baf49fb4f0772068>:0
    at (wrapper delegate-invoke) System.Func`4[Burst.Compiler.IL.Jit.JitCompiler,Mono.Cecil.MethodReference,Burst.Compiler.IL.Jit.JitOptions,Burst.Compiler.IL.Jit.JitFunction].invoke_TResult_T1_T2_T3(Burst.Compiler.IL.Jit.JitCompiler,Mono.Cecil.MethodReference,Burst.Compiler.IL.Jit.JitOptions)
    at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.CompileImpl (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job, System.String logTitle, System.Func`4[T1,T2,T3,TResult] doCompilationCallback) [0x00442] in <bace72e1c28441d0baf49fb4f0772068>:0

    While compiling job: System.Void Unity.Jobs.IJobForExtensions/ForJobStruct`1<UnityEngine.Rendering.Universal.ReorderJob`1<UnityEngine.Rendering.VisibleLight>>::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
    at <empty>:line 0