Search Issue Tracker

Active

Votes

0

Found in

2021.3.5f1

Issue ID

UUM-6371

Regression

Yes

[macOS] "Unexpected exception System.DllNotFounException: Unable to open unmanaged Library" errors on opening Karting template

--

-

Steps to reproduce:
1. Open Unity Hub
2. Download Karting Template and open the project
3. Observe errors on opening the project

Expected: no errors on opening Karting template
Actual: "Unexpected exception System.DllNotFounException: Unable to open unmanaged Library" errors on opening Karting template

Reproducible with: 2021.3.5f1
Not reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a17

Tested under environment:
macOS M1 mini

Notes:
-Not reproducible on Windows 10
-Full error:
While compiling job: System.Void Unity.Jobs.IJobParallelForExtensions/ParallelForJobStruct`1<Unity.Barracuda.BurstCPUOps/TanhJob>::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
at <empty>:line 0
Unexpected exception System.DllNotFoundException: Unable to load the unmanaged library `/Users/rokas/Downloads/My project (156)/Library/BurstCache/JIT/9092e8612607356080c9cf5d3887b3e6.bundle`
at Burst.Backend.UnmanagedLibrary+MacOSUnmanagedLibrary.LoadLibrary (System.String name, System.Boolean addPlatformPrefix, System.Boolean addPlatformFileExtension) [0x0006d] in <9804af65145d4f02b8d9599bb5ca7619>:0
at Burst.Backend.UnmanagedLibrary.LoadLibrary (System.String name, System.Boolean addPlatformPrefix, System.Boolean addPlatformFileExtension) [0x00020] in <9804af65145d4f02b8d9599bb5ca7619>:0
at Burst.Compiler.IL.Jit.JitCacheLibraryManager.TryGetOrLoadLibrary (System.String libraryPath, Burst.Compiler.IL.Jit.GetExternalFunctionPointerDelegate getExternalFunctionPointer, System.Action& invokeBurstInitialize, System.IntPtr& libraryPtr, System.Boolean onlyAlreadyLoadedLibraries) [0x00096] in <44dde17bb74e4847ac96fa1d80d6d096>:0
at Burst.Compiler.IL.Jit.Providers.OnDiskJitProvider.BeginCompileModule (Burst.Compiler.IL.NativeCompiler+ModulePair 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) [0x00031] in <44dde17bb74e4847ac96fa1d80d6d096>: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) [0x00678] in <44dde17bb74e4847ac96fa1d80d6d096>:0
at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (Burst.Compiler.IL.Jit.JitMethodGroupRequest& request, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00209] in <44dde17bb74e4847ac96fa1d80d6d096>:0
at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Burst.Compiler.IL.Jit.MethodReferenceWithMethodRefString method, Burst.Compiler.IL.Jit.JitOptions jitOptions, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00023] in <44dde17bb74e4847ac96fa1d80d6d096>:0
at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.Compile (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00491] in <44dde17bb74e4847ac96fa1d80d6d096>:0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.