How to remove SteamVR entirely
osorioavatar opened this issue · 2 comments
I have a game that's near completion and I wanted to add a VR mode so I imported everything into my project and tried playing but I get these errors (The crossed out messages are of my game not VR)
I made a new HDRP project and added steamvr to it and it works properly there, so I don't know why it won't work on mine. The only think I can think of is I messed up the setup. If anyone knows how to fix those erros or alternatively, how to completely remove steamvr and adding it again it would be really helpful. I tried just deleting the steamvr folders but when importing again I don't get the prompts I got the first time to set up default settings.
To get the defaults back copy the folder in \Assets\SteamVR\Input\ExampleJSON to \Assets\StreamingAssets\SteamVR. Then open the SteamVR Input window (in the Window toolbar) and click Save & Generate.
You'll also want to make sure you have the OpenVR package added in your package manager. If you're running Unity 2020+ add the tgz package in \Assets\SteamVR\OpenVRUnityXRPackage\Editor. If you're running a unity version before that (not using Unity XR) then add the OpenVR Desktop package from unity.
If using Unity XR make sure you have OpenVR selected in the XR Manager section of your project settings.
To get the defaults back copy the folder in \Assets\SteamVR\Input\ExampleJSON to \Assets\StreamingAssets\SteamVR. Then open the SteamVR Input window (in the Window toolbar) and click Save & Generate.
You'll also want to make sure you have the OpenVR package added in your package manager. If you're running Unity 2020+ add the tgz package in \Assets\SteamVR\OpenVRUnityXRPackage\Editor. If you're running a unity version before that (not using Unity XR) then add the OpenVR Desktop package from unity.
If using Unity XR make sure you have OpenVR selected in the XR Manager section of your project settings.
Thank you! I don't know what I did wrong the first time but now I managed to make it work properly for my game. https://www.youtube.com/watch?v=ISVXOAiyB94