-
Notifications
You must be signed in to change notification settings - Fork 66
Description
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):
Relevant section of Editor log: https://pastebin.com/SmY9LKGF