# How to package the environment for the Oculus VR to run on my computer?

**URL:** <https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [October 9, 2017, 8:42pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998 "2017-10-09T20:42:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mary-universe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mary-universe](https://forums.unrealengine.com/u/Mary-universe)\
**Post date:** [October 9, 2017, 8:42pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/1 "2017-10-09T20:42:52Z")

</div>

Hello,  
Can you please help with a hint of how can I export / package my created one level FPS environment in UE 4.10 or 4.17 as a VR runnable file for Oculus? (windows)

Maybe somebody knows a good tutorial or a keyword I should search for??  
( I know how to package to windows exe file but somehow could’t find this on youtube tutorials…)

Yours,  
Mark

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [October 9, 2017, 9:29pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/2 "2017-10-09T21:29:38Z")

</div>

It’s actually quite straightforward. The only difference respect to running the experience in the Editor is that you have to explicitly enable the stereo mode for the HMD once you are ready to transition to VR.

Just use the Enable HMD node and tick the Enable input ([Enable HMD | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Input/HeadMountedDisplay/EnableHMD/index.html)). If you want to be in VR from the very beginning, just link it to the Begin Play event of your level.

Give it a try and ask again in case of issues.

---

<div class="post-metadata">

**Author:** ![Lhorkan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lhorkan](https://forums.unrealengine.com/u/Lhorkan)\
**Post date:** [October 9, 2017, 9:41pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/3 "2017-10-09T21:41:35Z")

</div>

You can also click the “Start in VR” checkbox in the project settings (just search for “vr” at the top, and have “all settings” selected on the left. This will default the packaged builds to start in VR.

---

<div class="post-metadata">

**Author:** ![Mary-universe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mary-universe](https://forums.unrealengine.com/u/Mary-universe)\
**Post date:** [October 10, 2017, 4:09pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/4 "2017-10-10T16:09:29Z")

</div>

Thanks a lot vr\_marco and Lhorkan! I clicked “Start in VR” and the package runs in VR automatically!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab9546bd1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab9546bd1](https://forums.unrealengine.com/u/anonymous_user_ab9546bd1)\
**Post date:** [September 12, 2018, 3:49pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/5 "2018-09-12T15:49:00Z")

</div>

Thanks a bunch - same thing helped me out!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_92e453b81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_92e453b81](https://forums.unrealengine.com/u/anonymous_user_92e453b81)\
**Post date:** [April 21, 2021, 5:45pm UTC](https://forums.unrealengine.com/t/how-to-package-the-environment-for-the-oculus-vr-to-run-on-my-computer/100998/6 "2021-04-21T17:45:13Z")

</div>

Thanks a lot vr\_marco and speLhorkan!
