-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
What happened?
Goals
I am attempting to use a Realm in a Hololens application
Expected Results
The Realm works in-editor and on device
Actual Results
it fails on device with a DLLNotFoundExeption for realm-wrappers.dll,
Repro steps
Add Realm and the Mixed Reality Tool Kit to a Unity project, and configure for deployment to a Hololens. In a script attempt to get a Realm instance. Observe that the realm is accessible in-editor. Using the MRTK build window, build the unity project and then the .appx, and deploy it to a Hololens. In the logs you should see a DLLNotFoundExeption for realm-wrappers. I've uploaded a project that minimally reproduces the issue here: https://drive.google.com/file/d/1GLUrmeRzhD7QuhiUmuQadj16onyAXS_X/view?usp=sharing
UnityPlayer.log.txt
Version
.NET standard 2.0
What SDK flavour are you using?
Local Database only
What type of application is this?
Unity
Client OS and version
Windows Holographic
Code snippets
No response
Stacktrace of the exception/crash you're getting
: Unable to load DLL 'realm-wrappers': The specified module could not be found. at Realms.SynchronizationContextScheduler.Install () [0x00000] in <00000000000000000000000000000000>:0 at Realms.NativeCommon.Initialize () [0x00000] in <00000000000000000000000000000000>:0 at Realms.RealmConfiguration.CreateRealm (Realms.Schema.RealmSchema schema) [0x00000] in <00000000000000000000000000000000>:0 at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x00000] in <00000000000000000000000000000000>:0 at DemoScript.Start () [0x00000] in <00000000000000000000000000000000>:0 Rethrow as TypeInitializationException: The type initializer for 'Realms.SharedRealmHandle' threw an exception. at Realms.RealmConfiguration.CreateRealm (Realms.Schema.RealmSchema schema) [0x00000] in <00000000000000000000000000000000>:0 at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x00000] in <00000000000000000000000000000000>:0 at DemoScript.Start () [0x00000] in <00000000000000000000000000000000>:0
Relevant log output
No response
- duplicates
-
RNET-595 [Bug]: App crashes on UWP ARM64
- Closed