# Steam VR Template

**URL:** <https://forums.unrealengine.com/t/steam-vr-template/60376>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [April 6, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376 "2016-04-06T18:43:09Z")\
**Posts on this page:** 20\
**Page:** 26

<div class="post-metadata">

**Author:** ![JGwinner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JGwinner](https://forums.unrealengine.com/u/JGwinner)\
**Post date:** [July 5, 2016, 5:52am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/514 "2016-07-05T05:52:42Z")

</div>

The .png just looks weird, I didn’t think I saved it with transparent, but it’s pretty bizarre. Here it is in jpg:

![309563ba4894e7151012dbb71970b0146c5f6cdb.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![formatt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@formatt](https://forums.unrealengine.com/u/formatt)\
**Post date:** [July 5, 2016, 7:25am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/515 "2016-07-05T07:25:55Z")

</div>

> [@;559269](#):
>
> In the game mode I ask each player OnLogin if they have an active HMD, if yes I spawn a vive pawn for them and have them possess it, if not I spawn a FPS pawn for them and have them possess it. I am using the plugin controllers though as the defaults don’t replicate without modification or forcing them on tick which is pretty nasty.

Is this in blueprints or in code? I have been using blueprints. I also spawn a pawn OnLogin but haven’t tried with the plugin controllers yet though. I think my problem is before that. I have everything working apart from when the client connects using a HMD. When the client enters the map it seems to reset the server pawn or it removes its possession or something. Are you going to release a template or something we can check out? Thanks a lot for the help.

---

<div class="post-metadata">

**Author:** ![aviel08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aviel08](https://forums.unrealengine.com/u/aviel08)\
**Post date:** [July 5, 2016, 12:06pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/516 "2016-07-05T12:06:33Z")

</div>

Hey @Diem, did you only plug that Delay to that “Call Out Platform” or somewhere else? I’m having trouble getting it to work.  
Thanks

> [@Diem;557094](#):
>
> @Proteus
> 
> I noticed that there is an issue with the blink time in “vive pawn Complete” with an other value than 0 you can’t tp anymore maybe an issue with the set timer by function name. I tried different things but nothing worked like I expected.
> 
> EDIT: After some tests I noticed the bug come from the move event. When I set the blink time to 0, in the move event the part where “teleport actor” is link to “is valid ?” return true, but when i set a blink time to another value this part return false.
> 
> EDIT2: I made a fix that seems to work :
> 
> ![4a78593cb1949845d352b093b75697a6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/8/e384473681245385fe9a7dfd71bbaddeca8fa894.png)  
> Here I added a delay for the blink time after the “start camera fade” then I attached the completed to the second pictures
> 
> ![5735afdb56ddf815fe02be49892f3424.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/7/d9756ebb68127aff43870a556fcc78932e4f0df5.png)

EDIT:

I think I found what’s wrong, I just replaced the “Move” function with “teleport\_action” as shown below. That seems to fix it.

 ![21d2ec1ace0de9875c3bad09f1e91cd9dea199e9.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/d/21d2ec1ace0de9875c3bad09f1e91cd9dea199e9.jpeg)

---

<div class="post-metadata">

**Author:** ![Diem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Diem](https://forums.unrealengine.com/u/Diem)\
**Post date:** [July 5, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/517 "2016-07-05T12:48:56Z")

</div>

@aviel08  
Yes I just plugged the delay int the call out\_platform node. When I did what you did in your edit I got a strange blink time effect so I dont used it 🙂

---

<div class="post-metadata">

**Author:** ![aviel08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aviel08](https://forums.unrealengine.com/u/aviel08)\
**Post date:** [July 5, 2016, 12:54pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/518 "2016-07-05T12:54:42Z")

</div>

Mmmm yes, I did exactly what you @Diem did and it doesn’t work, just a black the screen, and did you set a blink time other than 0? it is working for me. Strange.  
Thanks anyway!

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [July 5, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/519 "2016-07-05T14:00:53Z")

</div>

> [@formatt;559332](#):
>
> Is this in blueprints or in code? I have been using blueprints. I also spawn a pawn OnLogin but haven’t tried with the plugin controllers yet though. I think my problem is before that. I have everything working apart from when the client connects using a HMD. When the client enters the map it seems to reset the server pawn or it removes its possession or something. Are you going to release a template or something we can check out? Thanks a lot for the help.

Ah I ran into that, sorry I would have warned people but I thought I did it myself by accident, must be from the template. If I remember correctly the pawn is set to be controlled by player 1 and set to auto posses, so when a new player logs in the server gets auto possessed into the new pawn. Remove the auto possess and default player in the pawns settings and you should be good to go.

---

<div class="post-metadata">

**Author:** ![Diem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Diem](https://forums.unrealengine.com/u/Diem)\
**Post date:** [July 5, 2016, 2:06pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/520 "2016-07-05T14:06:24Z")

</div>

@aviel08 Yes i’ve a blink time of 0.5 the only things it matter is that works for both of us 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6c2758b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6c2758b61](https://forums.unrealengine.com/u/anonymous_user_6c2758b61)\
**Post date:** [July 5, 2016, 2:10pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/521 "2016-07-05T14:10:23Z")

</div>

Hi, thanks for this template. Everything works fine but I have one question. When I use transportation mode 2 (with the laserpointer line), it always perform a double click. You move once when you press the button and another step when you release the button. How can I change that? Is it possible to combine the grabbing function with transportation mode 2? When I testest transportation mode 2, I wasnt able to pick up stuff. Only when I use transportation mode 1. Thanks for the help

---

<div class="post-metadata">

**Author:** ![formatt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@formatt](https://forums.unrealengine.com/u/formatt)\
**Post date:** [July 5, 2016, 3:01pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/522 "2016-07-05T15:01:45Z")

</div>

> [@;559467](#):
>
> Ah I ran into that, sorry I would have warned people but I thought I did it myself by accident, must be from the template. If I remember correctly the pawn is set to be controlled by player 1 and set to auto posses, so when a new player logs in the server gets auto possessed into the new pawn. Remove the auto possess and default player in the pawns settings and you should be good to go.

ha no way, thanks so much! Been wondering what the hell has been going on, you are right it was from the template. I wouldn’t have ever noticed that I don’t think. I was about to start from scratch and get synced multiplayer Vive pawns working first but that has saved me a load of time, cheers! Just been having a little go with your motion controller grip plugin as well, nice stuff.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [July 5, 2016, 3:56pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/523 "2016-07-05T15:56:40Z")

</div>

> [@formatt;559493](#):
>
> ha no way, thanks so much! Been wondering what the hell has been going on, you are right it was from the template. I wouldn’t have ever noticed that I don’t think. I was about to start from scratch and get synced multiplayer Vive pawns working first but that has saved me a load of time, cheers! Just been having a little go with your motion controller grip plugin as well, nice stuff.

The plugin is going to go over a pretty significant quality of life improvement when I merge the networked branch into the main. It isn’t ready to release yet but it improves just about everything and adds a bunch of new features.

---

<div class="post-metadata">

**Author:** ![ParadiseVR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paradisevr/32/553313_2.png) [@ParadiseVR](https://forums.unrealengine.com/u/ParadiseVR)\
**Post date:** [July 5, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/524 "2016-07-05T16:30:58Z")

</div>

hello, i have tried to migrate the Vive Pawn Complete on my level but it says Bad Blueprint… Only for this one, the vive pawn vehicle works fine but theres a problem with the compiling of the Complete one

---

<div class="post-metadata">

**Author:** ![Proteus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Proteus](https://forums.unrealengine.com/u/Proteus)\
**Post date:** [July 5, 2016, 6:27pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/525 "2016-07-05T18:27:41Z")

</div>

@ParadiseVR @aviel08  
I’m currently swamped with work but should be able to push a new version this week. This would include multiplayer-ready (ready for new plugin multiplayer) tested with 2 Vives, small bugs fixed, small additions and new doc.  
@Panther1987 Grabbing should be independent of locomotion I’ll do some tests

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_11bd2495](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_11bd2495](https://forums.unrealengine.com/u/anonymous_user_11bd2495)\
**Post date:** [July 6, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/526 "2016-07-06T12:27:56Z")

</div>

Anybody able to help, am trying to load this up but it crashes at 45% reliably every time, either using the file as a project, or using it to create a new project from the template version.

---

<div class="post-metadata">

**Author:** ![JayKavanagh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayKavanagh](https://forums.unrealengine.com/u/JayKavanagh)\
**Post date:** [July 7, 2016, 4:33am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/527 "2016-07-07T04:33:26Z")

</div>

Hey guys looking for a tiny bit of help with the teleportation. I used portions of teleport method 1 in my own blueprint and everything is working in general except the debug cylinder isn’t laying flat on the floor. It’s rotated like 80 degrees in one direction. So sounds like something random and probably simple. I can’t post my custom blueprint now but can tomorrow if no one has any obvious idea why this is happening.

EDIT: figured out my problem.The location of my break hit result was hooked into my set teleport location…when it should have been pointed directly into the start of the draw debug cylinder.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2469a257](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2469a257](https://forums.unrealengine.com/u/anonymous_user_2469a257)\
**Post date:** [July 8, 2016, 9:27am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/528 "2016-07-08T09:27:05Z")

</div>

Hi Guys. First of all - thanks loads for making this, its great!  
I’ve made a new project using the template and attempted to package it without making any changes at all and it fails to build with an “Unknown error” message. Any ideas on things I’d need to do prior to getting it to package, just in case I’ve missed something…which I probably have…  
P.S I’ve got visual studio installed, which I believe was required?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a5c357f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a5c357f0](https://forums.unrealengine.com/u/anonymous_user_a5c357f0)\
**Post date:** [July 8, 2016, 12:01pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/529 "2016-07-08T12:01:27Z")

</div>

Hello - just to say thanks to the community here for what looks like a really great template. Looks amazing.

I’m very keen to get started but have for a couple of weeks had issues running this, although I’m sure I’m just doing something fundamentally wrong - so I have some questions.

1. Main issue is once hooked upto the Vive and running a build it comes up on the PC monitor but does not register or track the HMD or controllers at all or show up in the VR display.

Is this to do with console usage? I’m new to UE4 I have no idea how to use this, beyond the standard ’ key - is there somewhere I can type in commands? I see the debug camera etc and various options. IS there a console for text and what do I need to enter here?  
[MENTION=32365]Paul Eckhardt[/MENTION] (I think?) mentioned needing to run the console and type a command to get get his template to run with the HMD , but I couldn’t get that to work either…is this the same issue? Sorry if I have missed this in the documentation somewhere…

1. A secondary issue is of packaging and a ‘UE4Editor-SteamVR\_Template.dll’ error. I’ve had issues compiling via Visual Studio 2015 although it appears to be installed and running correctly…

At the moment I’m getting “The Following modules are missing… would you like to rebuild them now”.  
Then “SteamVR\_Template could not be compiled. Try rebuilding from the source manually.”

I have tried at home but this is not an issue with 4.12.2 or my setup there.

As a bit of background to the above:

- I’m now running 4.12.3 and using SteamVR\_Template-master (downloaded from on 160706) as a project - and so have removed the Config/TemplateDefs.ini

-Also following @JGwinner’s suggestions:  
updated path for Vive\_Map.umap (using forwardslash not backslash for filepaths as I first thought)  
Changed staging directory from i:\downloads

- Have also checked that my project / file directory paths all have underscores and no gaps

- When packaging I’m running Visual Studio 2015 and using File/New C++ class, None, Create Class

Thanks!

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [July 8, 2016, 1:52pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/530 "2016-07-08T13:52:31Z")

</div>

> [@Exraycat;561154](#):
>
> Hi Guys. First of all - thanks loads for making this, its great!  
> I’ve made a new project using the template and attempted to package it without making any changes at all and it fails to build with an “Unknown error” message. Any ideas on things I’d need to do prior to getting it to package, just in case I’ve missed something…which I probably have…  
> P.S I’ve got visual studio installed, which I believe was required?

If using the plugin (and I think the current template has it default) you’ll need to generate a source file and add the plugin to the projects build.cs dependancies. I thought this had been fixed by now but it appears to still be a problem with BP only projects.

Build.cs

```auto

PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "VRGripMotionControllerPlugin" });

```

I packaged out a test project for Proteus today and ran into it again, its been on their TOFIX list for so long that I just thought it was corrected already.

---

<div class="post-metadata">

**Author:** ![Paul\_Eckhardt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paul\_Eckhardt](https://forums.unrealengine.com/u/Paul_Eckhardt)\
**Post date:** [July 8, 2016, 7:23pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/531 "2016-07-08T19:23:02Z")

</div>

@steveblake - I made a totally different template - you could check if it works -Layx29lUziQ

You could also try running unreal editor as admin. (“C:\Program Files\Epic Games\4.12\Engine\Binaries\Win64”)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8ea8e39d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8ea8e39d](https://forums.unrealengine.com/u/anonymous_user_8ea8e39d)\
**Post date:** [July 11, 2016, 3:51pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/532 "2016-07-11T15:51:58Z")

</div>

Great stuff! I’m using as a template for my projects. Right on man! Keep it up.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a5c357f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a5c357f0](https://forums.unrealengine.com/u/anonymous_user_a5c357f0)\
**Post date:** [July 11, 2016, 4:36pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/533 "2016-07-11T16:36:25Z")

</div>

[MENTION=32365]Paul Eckhardt[/MENTION] - thanks for the link and the suggestion. Sadly this has not worked (good looking template though and neat breakdown video!)

Previously when I have been able to package (at home) and run I still had an issue with both templates not picking up the HMD tracking. Do I need to input the Stereo On/Off command from console? if so where do type this in? (sorry for the n00b question. ’ / ~ (tilde) / tab did not appear to have a command line that I could type into…

Thanks

[Previous page](https://forums.unrealengine.com/t/steam-vr-template/60376.md?page=25)

[Next page](https://forums.unrealengine.com/t/steam-vr-template/60376.md?page=27)
