Unity + ARCORE DllNotFoundException: arcore_unity_api

那年仲夏 提交于 2019-12-13 02:22:43

问题


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



来源:https://stackoverflow.com/questions/50578439/unity-arcore-dllnotfoundexception-arcore-unity-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!