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:
oGetCSRTrampoline()
at :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.List1[T] inputFiles, System.String outputFile, System.Boolean enableDebugInfo) [0x00192] in <838ad2b6e5304123afbe0023ba8e151b>:0 at Burst.Compiler.IL.Aot.AotCompiler.Link (System.Collections.Generic.List1[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.List1[T] methodsToCompile, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x005d6] in <838ad2b6e5304123afbe0023ba8e151b>:0 at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (System.ValueTuple2[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:
oGetCSRTrampoline()
at :line 0
There are 64 of these and they don’t happen instantly but over couple of seconds.
ggwp hosted at ImgBB — ImgBB => pic
-
Upgrading to Burst 1.56 doesn’t help.
-
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.
-
Running win10 on the same machine and same unity version same project from the same disk helps => no more errors.
-
Deleting everything in temp folder in the project and in c:users… didn’t seem to have any effect.
-
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.
