Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
168 views
in Technique[技术] by (71.8m points)

android - Error: "To use the controller, please upgrade to a version of Unity with the GVR native integration"

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
  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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...