Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Burst 1.6.0-pre.2 fails to link on fresh Windows 7 setup with permission denied on reading pdb

Discussion in 'Burst' started by shelim, Jul 30, 2021.

  1. shelim

    shelim

    Joined:
    Aug 26, 2017
    Posts:
    29
    Hello,

    When trying to open freshly checkouted Unity project on Windows 7 which has Burst 1.6.0-pre.2 in their dependencies the editor goes into safe-mode, spilling several pairs of errors each moment until closed.

    Code (CSharp):
    1.  
    2. lld: error: permission denied
    3. E:\\The Game\\Temp\\Burst\\burst-aot8164fott.nqt\\8941e6cf64255ec70e3ca9bc3661e414.pdb: Stream Error: An I/O error occurred on the file system.
    4.  
    5. While compiling job: System.Void Unity.Jobs.IJobExtensions/JobStruct`1<Pathfinding.Jobs.JobCopyRectangle`1<System.UInt32>>::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
    6. at <empty>:line 0
    7.  
    Code (CSharp):
    1. ected exception Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "E:\The Game\Library\PackageCache\com.unity.burst@1.6.0-pre.2\.Runtime\hostwin\lld -flavor link /dll /DEBUG /pdb:"E:\\The Game\\Temp\\Burst\\burst-aot8164fott.nqt\\8941e6cf64255ec70e3ca9bc3661e414.pdb" /pdbaltpath:"E:\\The Game\\Library\\BurstCache\\JIT\\8941e6cf64255ec70e3ca9bc3661e414.pdb" /noentry /nodefaultlib /out:"E:\\The Game\\Temp\\Burst\\burst-aot8164fott.nqt\\8941e6cf64255ec70e3ca9bc3661e414.dll" "E:\\The Game\\Library\\PackageCache\\com.unity.burst@1.6.0-pre.2\\.Runtime\\libs\\burstRTL_w64.lib" /threads:1 "E:\\The Game\\Temp\\Burst\\burst-aot8164fott.nqt\\lib_burst_generated_part_.obj""
    2.   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 <bace72e1c28441d0baf49fb4f0772068>:0
    3.   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
    4.   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
    5.   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
    6.   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
    7.   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
    8.   at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (Mono.Cecil.MethodReference[] methodReferences, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x001d9] in <bace72e1c28441d0baf49fb4f0772068>:0
    9.   at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Mono.Cecil.MethodReference methodReference, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x0001c] in <bace72e1c28441d0baf49fb4f0772068>:0
    10.   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
    11.   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)
    12.   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
    13.  
    14. While compiling job: System.Void Unity.Jobs.IJobExtensions/JobStruct`1<Pathfinding.Jobs.JobCopyRectangle`1<System.UInt32>>::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
    15. at <empty>:line 0
    The project in question works OK on other devs systems (all of them Windows 10)

    When using explorer to navigate into:

    E:\\The Game\\Temp\\Burst\\burst-aot8164fott.nqt

    I can see the *.obj files in place, but there is nothings with *.pdb extension
     
    EvOne likes this.
  2. shelim

    shelim

    Joined:
    Aug 26, 2017
    Posts:
    29
    The second log should start with "Unexp" - missed in copy-paste - I am unable to edit oryginal post because of SPAM projection (wtf?)
     
  3. ProGameDevUser

    ProGameDevUser

    Joined:
    Mar 17, 2018
    Posts:
    115
    Did you manage to solve this problem?
     
    EvOne likes this.
  4. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    Maybe it will help:

    https://forum.unity.com/threads/lots-of-burst-errors.1166947/

    P.S. - I got similar errors, but I can not check whether the update will help,
    - while I'm still struggling with another bug 2021.2 beta
    And my package manager looks like this:

    PPS sorry for google-translate:)
     
    Last edited: Sep 15, 2021
  5. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
     

    Attached Files:

  6. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    Upd: It's really WORKS :)
    -Burst 1.60 - solved this problem with errors in the console.
    Screenshot: "After" :D
    2021-09-15_14-50-30.png
     
    ProGameDevUser likes this.