# Avoid starting game on VR headset for user

**URL:** <https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, UE4-26, question\
**Created:** [May 3, 2022, 1:37pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673 "2022-05-03T13:37:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoostDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joostdev/32/88718_2.png) [@JoostDev](https://forums.unrealengine.com/u/JoostDev)\
**Post date:** [May 3, 2022, 1:37pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/1 "2022-05-03T13:37:20Z")

</div>

I received a report from a user who played my music toy Robo Maestro on Steam, but it launched on their VR headset instead of on the monitor. Robo Maestro doesn’t support VR, so that’s not intended.

I don’t have a VR headset myself, so I can’t test this myself. According to that user, the fix was “_to disable it by editing the launch options for the game by typing “-nohdm” in there._” However, I can’t find any documentation on what “-nohdm” does, nor how to set this correctly in builds so the user doesn’t have to do this by hand.

I did find [this topic](https://forums.unrealengine.com/t/how-to-stop-ue4-editor-auto-starting-steamvr/387257/11), where it’s mentioned that one should disable the SteamVR and OculusVR plugins. However, that topic is about the editor, not builds, so I’m not sure whether disabling those plugins actually does the trick in my case.

So, my questions:

1. What does “-nohdm” do?
2. How can I change my project so that the game defaults to the monitor instead of to the VR headset?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 3, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/2 "2022-05-03T13:42:18Z")

</div>

I used -nohdm. No complaints after that… It’s in the windows config page.

( There’s stuff about it in the steam docs - although I can’t find it right now ).

---

<div class="post-metadata">

**Author:** ![Zectbumo54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zectbumo54](https://forums.unrealengine.com/u/Zectbumo54)\
**Post date:** [May 3, 2022, 7:08pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/3 "2022-05-03T19:08:07Z")

</div>

I don’t know about nohdm but I was talking with someone that said something interesting that may apply to your situation. A place you may want to look into is some third party plugin you are using such as anti-cheat software. It may include some plugins that is triggering the VR.

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [May 3, 2022, 8:33pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/4 "2022-05-03T20:33:31Z")

</div>

In my case the problem was due to the SteamVR plugin enabled by default in unreal, try to check if it’s enabled in your project

---

<div class="post-metadata">

**Author:** ![JoostDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joostdev/32/88718_2.png) [@JoostDev](https://forums.unrealengine.com/u/JoostDev)\
**Post date:** [May 4, 2022, 9:46am UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/5 "2022-05-04T09:46:16Z")

</div>

Where can I find the “Windows config page”? I don’t see such any VR related settings in the Windows page of the Project Settings. Do I need to add -nohdm by hand to DefaultEngine.ini? If so, how?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 4, 2022, 9:51am UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/6 "2022-05-04T09:51:30Z")

</div>

Sorry, too vague. Took me a while to find it, those Steam menus are a bit of a labyrinth!

General installation settings:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/0/260b13c3a17ce5a46a6dd08f3e0e473664debb5d.png)

---

<div class="post-metadata">

**Author:** ![JoostDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joostdev/32/88718_2.png) [@JoostDev](https://forums.unrealengine.com/u/JoostDev)\
**Post date:** [May 4, 2022, 9:57am UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/7 "2022-05-04T09:57:31Z")

</div>

Ohhhhh, this is a Steam config thing! I was looking in Unreal engine itself. Thank you so much!

---

<div class="post-metadata">

**Author:** ![JoostDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joostdev/32/88718_2.png) [@JoostDev](https://forums.unrealengine.com/u/JoostDev)\
**Post date:** [May 4, 2022, 9:59am UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/8 "2022-05-04T09:59:05Z")

</div>

Thanks! I’ve proceeded to just apply both options: -nohdm as launch argument as Steam, _and_ disabling the SteamVR and OculusVR plugins in Unreal.

---

<div class="post-metadata">

**Author:** ![JoostDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joostdev/32/88718_2.png) [@JoostDev](https://forums.unrealengine.com/u/JoostDev)\
**Post date:** [May 4, 2022, 12:46pm UTC](https://forums.unrealengine.com/t/avoid-starting-game-on-vr-headset-for-user/547673/9 "2022-05-04T12:46:06Z")

</div>

By the way, it turns out there’s a typo in my post and in yours: it’s “-nohmd” instead of “-nohdm”. Your screenshot shows the correct spelling. That typo is why Google didn’t give me any results when I searched for this. I guess the user sent it to me with a typo in it, since I copied it from there. I assume this means “No Head Mounted Display”.
