# How to set a game run with VR mode? (Cannot even package the VR template correctly)

**URL:** <https://forums.unrealengine.com/t/how-to-set-a-game-run-with-vr-mode-cannot-even-package-the-vr-template-correctly/369929>\
**Category:** Rendering\
**Tags:** UE4-13, unreal-engine, hmd, packaging-projects, Blueprint, question\
**Created:** [September 9, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/how-to-set-a-game-run-with-vr-mode-cannot-even-package-the-vr-template-correctly/369929 "2016-09-09T15:58:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5ba3837](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5ba3837](https://forums.unrealengine.com/u/anonymous_user_e5ba3837)\
**Post date:** [September 9, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/how-to-set-a-game-run-with-vr-mode-cannot-even-package-the-vr-template-correctly/369929/1 "2016-09-09T15:58:55Z")

</div>

First, I have already checked this,

> **[How to package a UE4 project to run on SteamVR?](https://forums.unrealengine.com/questions/402205/how-to-package-a-ue4-project-to-run-on-steamvr.html)**
>
> 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...

and the instruction provided in the answers.  
[https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/2/index.html](https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/2/index.html)

In 4.13, there is a VR template provided with the engine and it is pretty handy, I intend to modify it into my own project. The developing is OK, but when I decided to package project I ran into a problem, the packed application ran without enabling the sensors in the HMD (The preview camera remains ), but I am pretty sure steamVR worked fine because I can actually control the two hands with vive motion controller.

I think the ptovided VR template renamed the motioncontrollerPawn into VRpawn, and I created a VR\_GameMode gamemode blueprint as the tutorial said, but I think there is some problems.

First, I cannot enable a new pawn. If I delete the original VRpawn and add a new motioncontrollerSpawn, it is not working because the preview camera is floating in the sky.

Second, I still cannot package the project correctly. The HMD only gave me a steamVR menu. On my screen I saw a huge window showing the virtual hands, but the view never changed no matter how I move the HMD.

So… I really hope to know **what exactly I need to do to package the VR template correctly** , currently I am using HTC vive. And my packed project ends up with a camera stuck in the floor, where the VRpawn is located at the beginning.

---

<div class="post-metadata">

**Author:** ![Josemcasasp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Josemcasasp](https://forums.unrealengine.com/u/Josemcasasp)\
**Post date:** [September 29, 2016, 1:29pm UTC](https://forums.unrealengine.com/t/how-to-set-a-game-run-with-vr-mode-cannot-even-package-the-vr-template-correctly/369929/2 "2016-09-29T13:29:21Z")

</div>

Well i autoposses the pawn to a Player0 and works fine, fix the camera problem thatt you said.  
But i have the same problem … when i package it never runs in VR it stack on the floor and doesnt follow the hmd path.

---

<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:23am UTC](https://forums.unrealengine.com/t/how-to-set-a-game-run-with-vr-mode-cannot-even-package-the-vr-template-correctly/369929/3 "2019-02-04T00:23:59Z")

</div>

anyone found a solution to this?
