cancel
Showing results for 
Search instead for 
Did you mean: 

libOculusXRPlugin.so not being loaded

ahmed_shariff
Level 2
When I try building an unity app (eg: HandsInteractionTrainScene in the SampleFramework that comes with the unity integration) for the quest, when the app launches, I get black screen. In the adb logcat I see the following error:

09-29 12:40:51.061 14952 14967 D Unity   : Unable to load library '/data/app/com.umanitoba.hci.SampleHPUI-1/lib/arm/libOculusXRPlugin.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__cxa_type_match" referenced by "/data/app/com.umanitoba.hci.SampleHPUI-1/lib/arm/libOculusXRPlugin.so"...
09-29 12:40:51.064 14952 14967 E Unity   : Unable to find OculusXRPlugin
09-29 12:40:51.129 14952 14967 E Unity   : DllNotFoundException: OculusXRPlugin
09-29 12:40:51.129 14952 14967 E Unity   :   at (wrapper managed-to-native) Unity.XR.Oculus.OculusLoader.SetUserDefinedSettings(Unity.XR.Oculus.OculusLoader/UserDefinedSettings)
09-29 12:40:51.129 14952 14967 E Unity   :   at Unity.XR.Oculus.OculusLoader.Initialize () [0x0005d] in E:\Unity\SampleHPUI\Library\PackageCache\com.unity.xr.oculus@1.3.4\Runtime\OculusLoader.cs:103
09-29 12:40:51.129 14952 14967 E Unity   :   at UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () [0x00043] in E:\Unity\SampleHPUI\Library\PackageCache\com.unity.xr.management@3.2.15\Runtime\XRManagerSettings.cs:169
09-29 12:40:51.129 14952 14967 E Unity   :   at UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () [0x0007e] in E:\Unity\SampleHPUI\Library\PackageCache\com.unity.xr.management@3.2.15\Runtime\XRGeneralSettings.cs:175
09-29 12:40:51.129 14952 14967 E Unity   :   at UnityEngine.XR.Management.XRGeneralSettings.AttemptInitializeXRSDKOnLoad () [0x00022] in E:\Unity\SampleHPUI\Library\PackageCache\com.unity.xr.management@3.2.15\Runtime\XRGeneralSettings.cs:148


Oculus integration version 20.0

Unity: 2019.3.15f
I am following the instructions on how to setup the environment from the documentations (Use XR Plugin Framework)
0 REPLIES 0