Xbox controller not working with Oculus Utilities

I’ve been trying to get the Xbox controller working in VR for some time. I’m now using Unity 5.2.2, and just imported Oculus Utilities 0.1.3 into a clean project.

I’ve created an instance of the OVRPlayerController prefab, removed the original camera, and placed some blocks around the scene. I’ve set the Gravity Modifier to zero for the moment, so the player doesn’t immediately fall downwards.

However, when I launch the game and move the left stick on the controller, the player does not move forward. The right stick and bumpers turn the player left and right, but the left stick doesn’t do anything.

I had the same problem with Oculus Utilities 0.1.0 and 0.1.2; even with or without copying the InputManager.asset file from the Oculus Utilities zip.

How can I get the player moving forwards and backwards?

And for bonus points – how do I enable ‘Comfort Mode’, where the right stick turns the player 45 degrees at a time?

The left stick doesn’t work unless the player is on the ground. To fix this, set the Gravity Modify back to 1 (its default value), and add terrain or a large cube underneath the player. Once the player lands on the ground, the left stick will begin working.