【问题标题】:My device supports the ARCore Depth API, yet the Hello AR sample app shows an error我的设备支持 ARCore Depth API,但 Hello AR 示例应用显示错误
【发布时间】:2020-07-05 17:13:55
【问题描述】:
我有一个 Honor v20,它支持 ARCore Depth API。我能够很好地运行各种需要深度和 TOF 传感器的 AR 应用程序(例如“ARuler”、“Depth Labs”和“Lines of Play”)。但是,当我编译并运行 Google 的 HelloAR 示例应用程序时,我在 Honor v20 的屏幕上收到以下消息:
您的设备不支持深度。
有人遇到过这个问题吗?如何解决?
【问题讨论】:
标签:
android
augmented-reality
arcore
huawei-mobile-services
【解决方案1】:
如果您使用 Unity,请确保 文件 > 构建设置 > 播放器设置 > XR 设置 中ARCore Supported 选项已启用 >.
【解决方案2】:
单击 ARCore 设备并检查那里的 AR 会话配置,查看深度模式是否已禁用或自动如果是自动选择已禁用
资产 > GoogleARCore > 示例 > HelloAR > HelloARSessionConfig