Unity + ARCORE DllNotFoundException:arcore_unity_api [英] Unity + ARCORE DllNotFoundException: arcore_unity_api
问题描述
我尝试如下页所述运行arcore示例以实现统一: https://developers.google.com/ar/develop/unity/quickstart-android
I tried to run the arcore samples for unity as described on the following page: https://developers.google.com/ar/develop/unity/quickstart-android
但是它不起作用.该应用程序启动,正在搜索飞机,但相机源为黑色.在logcat中,存在以下异常:
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
我也尝试了简单的android示例,效果很好.不能统一工作可能是什么问题?
I also tried the plain android samples, which work fine. What could be the issue that it doesn't work with unity?
推荐答案
我迁移回Unity 2018.x到2017.4.6f =>现在可以正常使用
I migrated back to Unity 2018.x to 2017.4.6f => now it works
这篇关于Unity + ARCORE DllNotFoundException:arcore_unity_api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!