Unity + ARCORE DllNotFoundException:arcore_unity_api

时间:2018-05-29 07:15:56

标签: arcore

我尝试按照以下页面所述运行arcore样本以进行统一:https://developers.google.com/ar/develop/unity/quickstart-android

但它不起作用。应用程序启动并正在搜索平面,但相机输入为黑色。在logcat中有以下例外:

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示例,它们运行正常。它不能与团结合作的问题是什么?

1 个答案:

答案 0 :(得分:0)

我迁移回Unity 2018.x到2017.4.6f =>现在可以正常使用

相关问题