错误:“要使用控制器,请升级到具有GVR本机集成的Unity版本". [英] Error: "To use the controller, please upgrade to a version of Unity with the GVR native integration"
问题描述
我遵循了这些说明,但我安装的是技术预览版,而不是5.6测试版.我有Pixel XL,因此连接了Daydream控制器,而不是带有仿真器的手机.
I followed these instructions but instead of the Technical Preview I installed 5.6 beta. I have Pixel XL and so connected my Daydream controller instead of a phone with emulator.
当我进入编辑器并加载演示场景并运行它时,我收到以下消息:
When I get into the Editor and load up the demo scene, and run it, I get this message:
要使用控制器,请升级到具有GVR本机集成的Unity版本
To use the controller, please upgrade to a version of Unity with the GVR native integration
我不确定这是什么意思,我在这些论坛上搜索了一下,没有发现任何乐趣.
I am not entirely sure what this means, I've searched around a bit and on these forums, and have found no joy.
推荐答案
- 安装最新版本的Unity 5.6
- 下载最新的SDK https://developers.google.com/vr/unity/download#google-vr-sdk-for-unity
- 将SDK导入Unity,确保将其设置为构建为Android,然后在Edit> ProjectSettings> Player中确保支持虚拟现实并将Daydream添加到列表中.
- Install the latest version of Unity 5.6
- Download the latest SDK https://developers.google.com/vr/unity/download#google-vr-sdk-for-unity
- Import the SDK into Unity, make sure you are set to build to Android, and in Edit>ProjectSettings>Player make sure virtual reality is supported and Daydream is added to the list.
要在编辑器中调试控制器,请使用控制器仿真器: https://developers.google.com/vr/daydream/controller-emulator
To debug the controller in editor, use the controller emulator: https://developers.google.com/vr/daydream/controller-emulator
该消息也是DemoInputManager预制中的默认文本(可能不应该)-这可能意味着您的场景中存在错误,从而导致DemoInputManager无法更新.如果您已完成上述所有操作,则可以放心地忽略该消息.
That message is also the default text in the DemoInputManager prefab (it probably should not be) - which may mean you have errors in your scene, causing DemoInputManager to fail to update. If you have done everything above, you can safely ignore that message.
这篇关于错误:“要使用控制器,请升级到具有GVR本机集成的Unity版本".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!