openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Unable to unblock Add-on after crash

Open gwburger opened this issue 2 years ago • 2 comments

I am developing a driver, and during a recent test made a mistake that caused SteamVR to crash. Previously, I would be able to go to Settings->Startup/Shutdown->Manage Add-ons to re-enable my driver, then restart SteamVR to get it to load again. Since updating SteamVR to 1.22.12, this no longer works. SteamVR 1.12.13 also has this issue. I can select the option to unblock and load my driver, but after resetting SteamVR the driver does not load, and the settings have been reverted back to blocking my driver.

Some steps that I have tried include:

  • Deleting my driver, starting and closing SteamVR, then placing my driver back into the "SteamVR/drivers" folder
  • Manually changing "config\steamvr.vrsettings", but this does not have any effect
  • Deleting and re-installing SteamVR

The plugin works as expected if I place it onto a different PC that did not crash yet.

A log from one of my attempts to start SteamVR: vrserver.txt

gwburger avatar Jun 02 '22 23:06 gwburger

The problem is your driver, SteamVR goes into safe mode when one of the drivers crash, in your case it is most likely your driver segfaulting, SteamVR keeps going into safe mode and disabling addons because your driver keeps crashing on startup.

okawo80085 avatar Jun 04 '22 07:06 okawo80085

Also the "deleting my driver" part, don't do it like that, check the vrpathreg registry if it tries to load any additional drivers, verify the integrity of SteamVR files and never ever touch the drivers that are shipped with SteamVR.

okawo80085 avatar Jun 04 '22 07:06 okawo80085