unity + ARCORE DllNotFoundException:arcore_unity_api [英] Unity + ARCORE DllNotFoundException: arcore_unity_api

查看:27
本文介绍了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 示例,效果很好.它不能与 unity 一起工作可能是什么问题?

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆