ValveSoftware / unity-xr-plugin

OpenVR plugin for Unity's XR API
BSD 3-Clause "New" or "Revised" License
303 stars 64 forks source link

Optional XR SDK PreInit #102

Open Verex opened 2 years ago

Verex commented 2 years ago

The use of Unity XR SDK PreInit causes the XR System, and Steam VR, to be initialized in builds even with Initialize XR on Startup is disabled in the XR Plug-in Management settings.

These changes add a new option to the OpenVR settings (XR Plug-in Management -> OpenVR) that allows you to toggle XR SDK PreInit.

Fixes #80

CheapDevotion commented 1 year ago

What's the status on this PR? This is causing quite a few support issues for our game, Universe Sandbox, and this seems like a pretty straightforward fix.

SamuelACook commented 1 year ago

Would also like to show my support for this PR. We are currently going to deploy this fix into our project until this pull request is merged. This fix should not be overlooked.

maxmalmgren commented 1 year ago

I also vote for merging this PR. This problem is affecting us right now, and it does have serious impact for us.

JorgeZubog commented 1 year ago

Hello, I'm interested in this PR for my projet. This is a 3D viewer according to a profile, it will launch the VR or not so the SteamVR plugin is not always needed. Cheers!