Maroon icon indicating copy to clipboard operation
Maroon copied to clipboard

PC build starts SteamVR, entering experiments does not work

Open FlorianGlawogger opened this issue 1 year ago • 0 comments

Describe the Issue:

When building the application for PC (not VR), and the user has SteamVR installed, Maroon automatically starts the Steam VR window. If a VR headset is connected to the PC (or in Standby mode), the application gets a little bit blurry, and VSync is not working it seems. Additionally, when entering the laboratory and going to an experiment, the application freezes.

Expected behavior:

If the build script builds for PC, the built game should not launch SteamVR, and even if a VR device is connected, the build should be a normal PC application and loading experiments should work as expected.

Thoughts regarding a potential fix:

If Initialize XR on Startup is disabled in the PlayerSettings, the issue does not seem to occur. image A potential fix might be to adjust the build script, so that this option is enabled or disabled automatically when building for PC or for VR.

FlorianGlawogger avatar Mar 29 '23 11:03 FlorianGlawogger