How to disable auto-SteamVR launch on UE4 launch? fixed!

hello every one if you are not making a vr game and never will with unreal then got in to the files and plugins then find runtime and then find steam go in there and you will find steam vr delete it. it will never open the steamvr again.

Thanks for the heads up! Do you also have an issue where the headset doesn’t initialize correctly when you click VR Preview? I have to run it a couple of times to get headtracking on a WMR headset. However, doesn’t happen with my Oculus headset.

Or you could go to Edit → Plugins → Virtual Reality → Steam VR and untick Enabled.
With this, you can keep all engine files.

1 Like

This happened to me a couple of times but not as frequent as you are saying, in my case, I think it is the headset going into idle mode.

The problem is that the vr apks start to launch before I can select any project. I would wish to have an option that allows the vr apks to start only if launching an vr project. I hope that’s possible somehow

The other option is to go inside that folder, open up “SteamVR.uplugin” file with notepad and set “EnabledByDefault” to false.
Edit: Also set the file to read only, since I found that it can be reset for some reason.

4 Likes

Thank You!!! I’ve been looking for a solution to this for months, and most people state that you can go into the plugins within Unreal Engine and disable Steam/Oculus VR, but this does not work as the SteamVR compositor starts up BEFORE loading Unreal Engine, and furthermore, it only saves that setting on the specific project you are working on.

To clear up what OP was saying, you need to go to UE’s install directory in File Browser. Mine was listed here:

C://Program Files/Epic Games/UE_4.22/Plugins/Runtime/Steam/

I deleted the entire Steam VR folder within and the issue has been resolved! Unfortunately, if I do decide to work in VR in the future (and I will), I’m going to have to do more research to find out how to re-add that directory without breaking my UE install, or just re-install UE in it’s entirety.

Epic, if you are viewing this, there’s gotta be a better way to disable SteamVR from running when opening UE. I don’t want to leave my computer alone for a couple days to find my Vive displays burned out because I didn’t notice the compiler was running. That thing was expensive.

you can just get the plugin back for the new versions of unreal

This is the perfect solution. None of the above made it disappear but this one
C:\Program Files\Epic Games\UE_4.25\Engine\Plugins\Runtime\Steam\SteamVR\SteamVR.uplugin

1 Like

Thank you!

End users can use this command line parameter to prevent SteamVR/Oculus/etc from kicking in when launching UE4 titles that forgot to disable the plugins:

-nohmd

1 Like

This works, thanks!

It does work! And Unreal loads so much faster now.

To make it easy to add VR back in, just rename the file SteamVR.uplugin to SteamVR.uplugin.BAK or something like that. If you ever need the VR plugin, just rename it back to the original name.

1 Like

For anyone wondering, this works in UE5 just fine (as expected, but you never know).

Happy that it is loading faster since isn’t loading SteamVR each time. More so I’m glad that my hardware is getting powered on and idling all the time unless I intervene… these HMDs aren’t cheap, and I’d rather keep the usage down whenever possible.

Thanks for the info!

This one worked a treat, I plan to develop in VR for my career so deleting it wasn’t an option for me. But this simple setting made it not launch when UE 4.27.2 starts. Now if I want it in my VR projects I can just enable it as and when I want rather than having it forced on me.

I use Steam VR for work every day, but when doing my own personal development it became very frustrating to have to constantly close it every time I opened up the launcher.

The previously mentioned trick of editing the file in “C:\Program Files\Epic Games\UE_4.25\Engine\Plugins\Runtime\Steam\SteamVR\SteamVR.uplugin” worked perfectly. Setting enabled by default to false fixed it instantly for me.

1 Like