# VR in Standalone game

**URL:** <https://forums.unrealengine.com/t/vr-in-standalone-game/58631>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [March 18, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/vr-in-standalone-game/58631 "2016-03-18T13:31:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a6fe2dc21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a6fe2dc21](https://forums.unrealengine.com/u/anonymous_user_a6fe2dc21)\
**Post date:** [March 18, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/vr-in-standalone-game/58631/1 "2016-03-18T13:31:21Z")

</div>

I can’t get the DK2 to work in a “Standalone Game”.  
If I check “ovrversion” in the console of the standalone, then I get the following message:  
_“Command not recognised: ovrversion”_  
(The same for “HMD Enable” or “stereo on”)

Tested UE Versions: UE 4.10.4 and UE 4.11 preview 7  
Same problem in both versions.  
I have Uninstalled and reinstalled both.

The “VR-preview” is working fine, but not in the standalone.

I have checked all steps in the Wiki:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

- Oculus Rift Plugin is enabled
- Rift DK2 is working in other (non UE4 Demos) and in UE4 VR-Preview

Windows 7 64bit  
gtx 980  
Oculus Runtime 0.8

Any Idea what I could do to fix this?  
I have searched the forum, but none of the solutions is working.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2126b148](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2126b148](https://forums.unrealengine.com/u/anonymous_user_2126b148)\
**Post date:** [March 21, 2016, 8:11pm UTC](https://forums.unrealengine.com/t/vr-in-standalone-game/58631/2 "2016-03-21T20:11:35Z")

</div>

“Standalone game” preview mode is executed with -nohmd option, that is why it doesn’t recognize any VR-related console commands.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a6fe2dc21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a6fe2dc21](https://forums.unrealengine.com/u/anonymous_user_a6fe2dc21)\
**Post date:** [March 21, 2016, 8:55pm UTC](https://forums.unrealengine.com/t/vr-in-standalone-game/58631/3 "2016-03-21T20:55:11Z")

</div>

Thank you. Solved.
