Search Unity

JOBs package produces 64 errors right out of the gate. lld: error: permission denied Windows7

Discussion in 'Entity Component System' started by Chunikus, Jan 3, 2022.

  1. Chunikus

    Chunikus

    Joined:
    Sep 5, 2020
    Posts:
    28
    Hi.

    Unity 2020.3.25f1

    Wanted to do some multithreading, downloaded burst package (1.46?). No errors.

    Download jobs package, it states that Burst version changed (to 1.54) and that i need to restart editor.

    After restart i get 64 of these errors:

    lld: error: permission denied
    I:\\stuff\\UnityTycoon\\UnityTycoon\\Temp\\Burst\\burst-aotyc4bwe15.ect\\f56f2c12445d536a41e0ff0751a507cd.pdb: Stream Error: An I/O error occurred on the file system.


    While compiling job: System.Int32 Unity.Burst.Intrinsics.X86::DoGetCSRTrampoline()
    at <empty>:line 0


    and

    Unexpected exception Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "I:\stuff\UnityTycoon\UnityTycoon\Library\PackageCache\com.unity.burst@1.5.6\.Runtime\hostwin\lld -flavor link "@C:\Users\Cunikus\AppData\Local\Temp\tmp4aa5b420.tmp""
    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 <838ad2b6e5304123afbe0023ba8e151b>: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) [0x00192] in <838ad2b6e5304123afbe0023ba8e151b>: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 <838ad2b6e5304123afbe0023ba8e151b>: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) [0x00089] in <838ad2b6e5304123afbe0023ba8e151b>: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 <838ad2b6e5304123afbe0023ba8e151b>: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) [0x005d6] in <838ad2b6e5304123afbe0023ba8e151b>:0
    at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (System.ValueTuple`2[Mono.Cecil.MethodReference,System.String][] methodReferences, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x002c1] in <838ad2b6e5304123afbe0023ba8e151b>:0
    at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Mono.Cecil.MethodReference methodReference, System.String methodRefString, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x0002c] in <838ad2b6e5304123afbe0023ba8e151b>:0
    at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.Compile (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job) [0x00464] in <838ad2b6e5304123afbe0023ba8e151b>:0

    While compiling job: System.Int32 Unity.Burst.Intrinsics.X86::DoGetCSRTrampoline()
    at <empty>:line 0


    ----------------
    There are 64 of these and they don't happen instantly but over couple of seconds.

    https://ibb.co/xhQx9NV => pic

    1) Upgrading to Burst 1.56 doesn't help.

    2) I can actually enter/exit play mode and game seems to run, i don't have any burst/jobs code yet though.

    3)Switching burst compilation off in JOBS menu helps => no more errors.

    4) Running win10 on the same machine and same unity version same project from the same disk helps => no more errors.

    5) Deleting everything in temp folder in the project and in c:users... didn't seem to have any effect.

    6) Removing JOBS and keeping only burst 1.56 while burst compilation enabled produces only 10 errors instead of 64. ¯\_(ツ)_/¯

    So it seems like it's win7 specific.
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,759
    Did you restart unity after installing burst (jobs dependency)?

    Side note from memory burst won't compile on windows 7. It has a dependency on the Windows 10 SDK

    A quick look at documentation shows this
    https://docs.unity3d.com/Packages/c...lonePlayerSupport.html#burst-aot-requirements

    upload_2022-1-3_12-36-9.png

    However this requirement seems to have been removed on the 1.6 docs
    https://docs.unity3d.com/Packages/c...lonePlayerSupport.html#burst-aot-requirements
    but as far as I'm aware it still does not work, though I have not tested so might be worth upgrading to check.

    (Runtime windows 7 works fine)
     
    Last edited: Jan 3, 2022
  3. Chunikus

    Chunikus

    Joined:
    Sep 5, 2020
    Posts:
    28
    I obv. restarted unity, and pc, added removed packages in different order and what not.

    I obv. didn't read documentation, and even if i did it has windows twice in there, so i'd be just confused. :)

    I'm fairly certain Burst that is not in preview but normally available doesn't produce any errors, and through googling of the error it seems like it was fixed couple of times, but mby ECS team keeps adding some calls that only work on win10.

    Is this the final nail in the coffin that will force me to upgrade from win7? I hate newer windows, heck i'd gladly go back to winXp :))