Wednesday, 2 June 2021

Errors: "Unable to find UnityARCore" and "DllNotFoundException"

I've built an ARCore app in Unity using the ARFoundation Package. Then I embedded Unity app inside a native Android app by following the instructions in this link: Embedded Unity within Android App.

The AR app works fine as a Stand Alone app. But I'm getting the error while embedding it inside a native Android app:

E/Unity: Unable to find UnityARCore
E/Unity: DllNotFoundException: UnityARCore
at (wrapper managed-to-native) UnityEngine.XR.ARCore.Api:UnityARCore_setCameraPermissionProvider (UnityEngine.XR.ARCore.Api/CameraPermissionRequestProvider)
at UnityEngine.XR.ARCore.ARCoreCameraExtension.Register () [0x00000] in <filename unknown>:0


from Errors: "Unable to find UnityARCore" and "DllNotFoundException"

No comments:

Post a Comment