下面列出了一些有助于进一步了解 Google VR 开发主题的有用外部链接。
本部分将列出使用 Google VR SDK 进行开发时可能遇到的最常见问题。下表列出了一些常见问题以及建议的解决方案。
问题 | 建议 |
---|---|
我有 GvrController/GvrViewer/GvrXXXX/Instant Preview 方面的问题。如何解决此问题? |
这些类型是 Google VR SDK for Unity 的一部分,由 Google 拥有并提供支持。虽然一般的 Unity 社区可能也能够回答您的问题,但对于任何技术问题,应该访问 GitHUB 上的 Google VR SDK for Unity 站点。 |
Daydream Keyboard 什么时候发布? | 适用于 Google VR 的 Daydream Keyboard 是 Google 技术,将在未来某个核心 Android 系统版本中发布。此技术的访问和使用完全基于 Google 和 Google VR SDK for Unity。 |
我正在尝试构建以 iOS 为目标的 Cardboard 项目,但 Xcode 报告了链接器错误。 | Google 通过 Cocoapods 库管理系统来分发适用于 iOS 的 Cardboard 原生开发工具包 (NDK)。Unity 与 Cocoapods 管理器中特定版本的 Cardboard NDK 集成,并使用该 NDK 创建您的 XCode 项目。生成的项目与标准 Unity 项目的生成方式不同。Cocoapods 创建一个包含 Unity 项目的 XCode 包装工作空间,并创建一个用于 Cardboard NDK 库及其依赖项的项目。请始终确保打开和/或使用该工作空间而不仅仅是项目本身,从而避免由于缺少 Cocoapods 中的库而导致链接器错误。 |
请求 Android 权限 | 在构建面向 Cardboard 或 Daydream 的应用程序时,Unity 会将 SkipPermissionsDialog 清单条目设置为 true,从而最大限度降低因退出 VR 而导致用户体验中断的可能性。如果 Cardboard 或 Daydream 应用程序需要“危险权限”,则必须在运行时请求这些权限。请参阅 Android 清单部分中的 Android 6.0 (Marshmallow) 中的运行时权限以及请求权限以了解更多信息。 |
请参阅官方的 Google VR 开发者网站,了解有关更多有关 Cardboard 和 Daydream 的故障排除信息。
2018–03–27 页面已发布并进行了编辑审查
在 2017.3 版中更新了有关 Unity XR API 的 Google VR 文档
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.