Welcome! › Forums › Unity Plugins › Precise Locale › DllNotFoundException: PreciseLocaleOSX
- This topic has 10 replies, 2 voices, and was last updated 3 years, 5 months ago by vorlex.
-
AuthorPosts
-
May 31, 2021 at 11:00 am #11801vorlexParticipant
Hi!
We’ve got a problem building our app with support of Apple Silicon M1 (Intel 64 bit + Apple Silicon).
Application successfully builds, but misses PreciseLocaleOSX dll:(Filename: /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs Line: 37)
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.dylib
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.so
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.bundle
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/PreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.dylib
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.so
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.bundle
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.dylib
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.so
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.bundle
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/PreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.dylib
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.so
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX.bundle
Fallback handler could not load library /Users/SLBuilds/Projects/PLNT_BUILDS/PLNT_MACOS/test/Planet of Cubes.app/Contents/Frameworks/MonoEmbedRuntime/osx/libPreciseLocaleOSX
DllNotFoundException: PreciseLocaleOSX
at (wrapper managed-to-native) PreciseLocale+PreciseLocaleOSX._getLanguage()
at PreciseLocale+PreciseLocaleOSX.GetLanguage () [0x00001] in /Users/SLBuilds/Projects/plnt/Assets/PreciseLocale/PreciseLocale.cs:204
at PreciseLocale.GetLanguage () [0x00001] in /Users/SLBuilds/Projects/plnt/Assets/PreciseLocale/PreciseLocale.cs:96Could you give some advise?
June 1, 2021 at 7:41 am #11803PiotrKeymasterWhat platform are you building for?
June 1, 2021 at 7:49 am #11804vorlexParticipantMac Standalone:
June 1, 2021 at 12:56 pm #11805PiotrKeymasterHmm. Do I see correctly that Unity is requiring DLL file for MacOS? Isn’t it Windows format? 😀
June 1, 2021 at 1:45 pm #11806vorlexParticipantYeah, that’s strange. Maybe that’s default message in .net about any type of library, even MacOS one.
If you look down the stack trace, you’ll see that it couldn’t load OSX library.June 3, 2021 at 4:17 pm #11809PiotrKeymasterDo you have
PreciseLocaleOSX.bundle
file inPlugins/Mac
directory? Is it part of your generated project?June 4, 2021 at 9:05 am #11812vorlexParticipantYes, we have it and it works just fine for Intel 64-bit build, but when we set target platform to Intel 64-bit + Apple silicon it doesn’t.
June 4, 2021 at 9:27 am #11815vorlexParticipantHave made two builds: one for Apple Silicon (M1) and the other for Intel-64 only. It just doesn’t copy bundle for Apple Silicon during build:
- This reply was modified 3 years, 6 months ago by vorlex.
June 4, 2021 at 9:28 am #11816vorlexParticipantOkay. Somehow I can’t add two pictures in one post here. So, here’s the other one for Intel-64:
June 10, 2021 at 7:58 am #11820PiotrKeymasterNo idea why would that happen. It seems some bug on Unity side or missing setting. What happens when you copy it there manually? Also when you click on file in Unity there is checkbox to tell which platform should use it – is it setup correctly?
June 11, 2021 at 12:47 pm #11822 -
AuthorPosts
- You must be logged in to reply to this topic.