Skip to content

OpenVR XR Plugin 1.0.1 Crashes Editor on Initialization (in SetUserDefinedSettings) #52

@gavaga

Description

@gavaga

We have been dealing with an OpenVR XR Plugin crash bug for a while now, where we get a hard crash in the Editor (uncaught native exception) when OpenVR is initialized. It was initially observed in the XR Management RuntimeInitializeOnLoad sequence with the OpenVR plugin enabled for desktop, so we moved to initializing OpenVR and SteamVR from MonoBehaviour.Awake/Start in the scene, which seemed to resolve it, but that's now crashing, as well. It's not 100% consistent, but around 4/5 times we hit Play it crashes.

Observed on OpenVR XR Plugin 1.0.1, with SteamVR Plugin 2.6.0b4, editor versions 2019.3.6 and 2019.4.x. Never observed in a built Player.

Maybe duplicate, but the relevant issues I could find steamvr#716, steamvr#704 don't seem to have quite the same failure mode, and claim to be resolved in the versions we're using.

Relevant part of the stack trace (above this in the chain is MonoBehaviour.Start() on our loader GameObject):
stacktrace

Relevant section of Editor log: https://pastebin.com/SmY9LKGF

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed in next versionThis has been fixed and will need a test when the next version comes out.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions