I've recently decided to add VR to my Unity android game so I installed the XR Cardboard plugin from here: https://developers.google.com/cardboard/develop/unity/quickstart and configured it.
There's two problems. Firstly, the plugin takes complete control of how the camera renders the scene which is not what I want. Secondly, the whole thing jams up the phone and if left to it's own devices causes the phone to restart.
The demo scene works fine so it must be a conflict with something in my scene. (I have multiple cameras.)
All I actually want is a way to get the rotation of the user's head. (I'm happy to deal with the cameras myself.) I've tried doing this with InputSystem.AttitudeSensor.current.ReadValue() and Input.gyro.attitude. The results are very inaccurate and jerky even with smoothing applied.
Any suggestions welcome.