Joystick readings drop to 0 when HMD is worn

Dear community,

I’m working on a VR flight simulator. The VR output device is an Oculus CV.

For the time being, I want to use a conventional joystick (instead of the Touch controllers) as input device. I read the axis data with

float inputH = Input.GetAxis("Horizontal");

etc.

When starting the app in VR mode, this at first works. I receive meaningful inputs from the joystick.

As soon as I wear the HMD, the readings are constantly zero. It does not recover if I put the HMD off.

Unity version is 2018.4. Oculus app version is most current. Tested with two different joystick types/vendors, different USB ports.

Any hints at why this happens?

Best regards,

Thomas

Turned out that the “problem” seems to arise from open configuration windows (Lighting Settings, Input Settings). Those windows have to be closed before the app is started.