ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.14k stars 1.28k forks source link

SteamVR breaks when adding settingsschema.vrsettings to non HMD driver #1863

Closed Nyabsi closed 3 months ago

Nyabsi commented 4 months ago

Behavior

I am developing a driver called leapify here which defines custom settingsschema.vrsettings for managing the driver settings.

But unfortunately it seems that SteamVR expects a driver to have HMD class device to be assigned to the driver, or otherwise SteamVR will crash and get into non-working state.

Expected Behaviour

I can define settingsschema.vrsettings without issues on drivers that do not include HMD class.

Attachments

Hereis image showing my driver assigning a HMD class, device the menu works as expected.

image

Here is the driver without HMD class device and "show_without_hmd": true defined in settingsschema.vrsettings.

image

Nyabsi commented 3 months ago

fixed by 2.8.1, closing this issue.