# How to package a UE4 project to run on SteamVR?

**URL:** <https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512>\
**Category:** XR Development\
**Tags:** SteamVR, Vive, unreal-engine, hmd, packaging-projects, question\
**Created:** [April 9, 2016, 6:17am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512 "2016-04-09T06:17:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdub\_dub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jdub\_dub](https://forums.unrealengine.com/u/jdub_dub)\
**Post date:** [April 9, 2016, 6:17am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/1 "2016-04-09T06:17:09Z")

</div>

I’ve made a very simple VR project which works with my HTC Vive when using VR preview (if I run the UE4 editor with rights).

However when I try to package the project, it generates to WindowsNoEditor and I can’t figure out how to run the packaged project through the HMD/SteamVR?

When running the generated .exe, typing in [ANY of the console commands](https://docs.unrealengine.com/latest/INT/Platforms/VR/CheatSheet/index.html) returns “Command not recognised”, e.g. “Stereo On”, “HMD Enable”, “Ovrversion” etc. Makes no difference if I run the packaged .exe with admin rights.

Any ideas? Is there a command I need to pass to the CLI? An option when packaging?

---

<div class="post-metadata">

**Author:** ![marcomanni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@marcomanni](https://forums.unrealengine.com/u/marcomanni)\
**Post date:** [April 19, 2016, 7:36am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/2 "2016-04-19T07:36:32Z")

</div>

Same question here…

---

<div class="post-metadata">

**Author:** ![marcomanni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@marcomanni](https://forums.unrealengine.com/u/marcomanni)\
**Post date:** [April 19, 2016, 9:09am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/3 "2016-04-19T09:09:42Z")

</div>

- Start with the -fullscreen commandline
- Put a ConsoleCommand in your level / game mode blueprint that calls “stereo on”
- You can edit your packaged build’s UE4CommandlLine.txt to include the -fullscreen command

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [April 19, 2016, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/4 "2016-04-19T17:34:09Z")

</div>

Hey

To package for SteamVR, you’ll need to read our documentation:

- [Virtual Reality Documentation][1]
- [SteamVR Documentation][2]
- [SteamVR Best Practices][3]

Good luck!

[Developing for XR Experiences in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Platforms/VR/index.html)  
[2]: [https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/index.html](https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/index.html)  
[3]: [https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/BestPractices/index.html](https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/BestPractices/index.html)

---

<div class="post-metadata">

**Author:** ![slam937](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slam937](https://forums.unrealengine.com/u/slam937)\
**Post date:** [April 20, 2016, 11:58pm UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/5 "2016-04-20T23:58:52Z")

</div>

The documentation you provided does not have any information targeting how to package projects to work with SteamVR/Vive. Packaged projects work as per normal with the Oculus plugged in but it appears the Vive is a whole other story/process to go through to get it to work.

@jdub_dub have you been able to find a solution?

Edit: found a solution that worked for me. I did not have SteamVR running when opening the packaged project…

1. Run SteamVR (make sure it’s ‘Ready’)
2. Open packaged project
3. Alt + enter

Let me know if it works for you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [April 21, 2016, 9:33pm UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/6 "2016-04-21T21:33:06Z")

</div>

Slam937,

Besides the information where packaged projects work the same with SteamVR as they do Oculus, is there any additional information that you noticed was missing from our documentation? I can always submit a request to have our documentation team update the page.

Thanks!

---

<div class="post-metadata">

**Author:** ![jdub\_dub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jdub\_dub](https://forums.unrealengine.com/u/jdub_dub)\
**Post date:** [April 23, 2016, 5:10am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/7 "2016-04-23T05:10:19Z")

</div>

It’s working for me now! A few things seemed to help:

- Restarting and making sure nothing was running with rights
- Making sure SteamVR was running and Ready before starting the built .exe

When SteamVR is not running, “Stereo on” returns “Command not recognised”. When SteamVR is running and “Ready”, it works as expected.

I don’t even need to run the .exe with the `-fullscreen` switch, or press Alt-Enter; it’s fine to just put a new Run Console Command “Stereo on” in the Event BeginPlay of the Game Mode.

---

<div class="post-metadata">

**Author:** ![Jake1337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jake1337](https://forums.unrealengine.com/u/Jake1337)\
**Post date:** [August 8, 2016, 9:52am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/8 "2016-08-08T09:52:52Z")

</div>

That actually works great! Thanks a lot.

---

<div class="post-metadata">

**Author:** ![TPuppe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TPuppe](https://forums.unrealengine.com/u/TPuppe)\
**Post date:** [August 12, 2016, 7:22am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/9 "2016-08-12T07:22:57Z")

</div>

Thanks for your solution, it worked!

---

<div class="post-metadata">

**Author:** ![mrmeen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrmeen](https://forums.unrealengine.com/u/mrmeen)\
**Post date:** [April 25, 2017, 5:09pm UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/10 "2017-04-25T17:09:37Z")

</div>

Just enable “Start in VR” in project settings.

---

<div class="post-metadata">

**Author:** ![Albert\_Soubeyran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Albert\_Soubeyran](https://forums.unrealengine.com/u/Albert_Soubeyran)\
**Post date:** [June 3, 2017, 12:50pm UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/11 "2017-06-03T12:50:47Z")

</div>

Merci pour la réponse ( Just enable “Start in VR” in project settings. ) ça fonctionne 🙂

---

<div class="post-metadata">

**Author:** ![Aikirob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aikirob](https://forums.unrealengine.com/u/Aikirob)\
**Post date:** [February 4, 2019, 12:25am UTC](https://forums.unrealengine.com/t/how-to-package-a-ue4-project-to-run-on-steamvr/353512/12 "2019-02-04T00:25:57Z")

</div>

I tried the following but my hmd doesnt seem to track, the game is starting but the camera is stuck on the floor where the vrpawn begins the stage.
