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?

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:
Google Cardboard not move the camera when I'm using Unity Remote 4 - Questions & Answers - Unity Discussions 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 Unity Remote 4 - still no gyro / compass support? - Questions & Answers - Unity Discussions 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) {