Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by shongololo · Nov 02, 2015 at 02:10 PM · vrgoogleremotesamsunghealth

How to enable head tracking in Google Cardboard via Unity Remote on OSX?

I have connected an Android (Samsung S6) to Unity via the Unity Remote.

I've imported the Google Cardboard SDK and I am able to see the scene from the phone, however, the head tracking information does not feed back into Unity.

Any suggestions?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JR411 · Nov 11, 2016 at 12:40 AM 0
Share

I have the same problem I've imported the GOOGLE unity SD$$anonymous$$ v.1,0.3 I use Unity remote 5 and I can to see the scene from the phone with help the computer ´s mouse , but i am not eable head tracking....

1 Reply

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by nilssanderson · Dec 14, 2015 at 10:18 AM

I think it is due to the Unity Remote (the latest one) 4 being build for Unity 4 and it probably needs updated for Unity Remote 5. Unfortunately I do not have an answer for you as to how to fix it, just wanted to mention why it's not working and that a lot of people are in the same position waiting for a Unity Remote to work with Unity 5 >.


UPDATE #1: I had an extra check around the Unity Forum and there are 2 answers that help get it sorted: http://answers.unity3d.com/questions/985989/google-cardboard-not-move-the-camera-when-im-using.html#answer-1092005 which I think you only need to do this part:

Attach this script to a new GameObject in the editor. After that, go to line 74 of UnityEditorDevice.cs and change the line to read: if (RemoteCommunicating) {

With a combination of the GUI options in this answer http://answers.unity3d.com/questions/719509/unity-remote-4-still-no-gyro-compass-support.html#answer-761722 allows you to output some of the details on the GUI if that also helps, so with a combination of the two answers you should get what you need.

Thanks to @S4UC1SS0N and @musurca for their relevant answers.


UPDATE #2: Code has been updated for Google VR. To fix Unity Remote:

Attach this script to a new GameObject in the editor. After that, go to line 71 of EditorDevice.cs and change the line to read: if (RemoteCommunicating) {

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Srki94 · Dec 19, 2016 at 11:31 AM 2
Share

This script is now located in "\Assets\GoogleVR\Legacy\Scripts\Internal\VRDevices\EditorDevice.cs" The line is 64th in the void UpdateState. Thank you so much.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CardboardVR on Samsung Note4, wired phenomenon, 2 cubes in 2 eyes 0 Answers

Getting Gear VR to work 1 Answer

Google Cardboard Magnet Switch with Daydream Unity technical preview 0 Answers

Google Daydream Controller pick up objects 0 Answers

Disable rotation on swipe (Gear VR) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges