Unity + ARCORE DllNotFoundException: arcore_unity_

2019-08-05 00:53发布

问题:

I tried to run the arcore samples for unity as described on the following page: https://developers.google.com/ar/develop/unity/quickstart-android

But it doesn't work. The app starts and it is searching for the planes, but the camera feed is black. In the logcat there is the following exception:

DllNotFoundException: arcore_unity_api
    at (wrapper managed-to-native) GoogleARCoreInternal.ARPrestoCallbackManager/ExternApi:ArCoreUnity_setArPrestoInitialized (GoogleARCoreInternal.ARPrestoCallbackManager/EarlyUpdateCallback)
  at GoogleARCoreInternal.ARPrestoCallbackManager.InitializeIfNeeded () [0x00000] in <filename unknown>:0 
  at GoogleARCoreInternal.ARCoreAndroidLifecycleManager.CreateSession (GoogleARCore.ARCoreSession sessionComponent) [0x00000] in <filename unknown>:0 
  at GoogleARCore.ARCoreSession.Start () [0x00000] in <filename unknown>:0

I also tried the plain android samples, which work fine. What could be the issue that it doesn't work with unity?

回答1:

I migrated back to Unity 2018.x to 2017.4.6f => now it works



标签: arcore