Error: “To use the controller, please upgrade to a version of Unity with the GVR native integration”

女生的网名这么多〃 提交于 2019-12-13 23:18:06

问题


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:

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.


回答1:


  1. Install the latest version of Unity 5.6
  2. Download the latest SDK https://developers.google.com/vr/unity/download#google-vr-sdk-for-unity
  3. 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.

To debug the controller in editor, use the controller emulator: https://developers.google.com/vr/daydream/controller-emulator

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.



来源:https://stackoverflow.com/questions/42868675/error-to-use-the-controller-please-upgrade-to-a-version-of-unity-with-the-gvr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!