# 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:** 17

<div class="post-metadata">

**Author:** ![anonymous\_user\_911a9bf5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_911a9bf5](https://forums.unrealengine.com/u/anonymous_user_911a9bf5)\
**Post date:** [June 4, 2016, 1:14pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/324 "2016-06-04T13:14:04Z")

</div>

I believe that you need to add it as a plugin:

 ![4de94761d44efddaee4cc2e26db2b2aee28a0071.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/e/4de94761d44efddaee4cc2e26db2b2aee28a0071.jpeg)

Here it is:

[https://bitbucket.org//ue4-vr-grippable-motion-controller-plugin](https://bitbucket.org//ue4-vr-grippable-motion-controller-plugin)

---

<div class="post-metadata">

**Author:** ![Talismansa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talismansa](https://forums.unrealengine.com/u/Talismansa)\
**Post date:** [June 5, 2016, 5:51am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/325 "2016-06-05T05:51:28Z")

</div>

Hi Guys,  
I’m currently running 1.8 on 4.11.2. Everything is working well on this project I’m working on.  
But now I’m trying to load the project in 4.12.0, and it doesn’t seem to allow that. It seems like the main problems are the Substance Plugin, and the VRGripMotionControllerPlugin.  
These are the messages I get:  
 ![Capture01.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/d/5d30d7eb69c887b48bc8286ec6369f3a3ef2f6f1.jpeg)

So I disable the plugin, and then:  
 ![Capture02.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/c/bc5c0b82d939aca991a48c5b2652fb78562ad418.jpeg)

After that, the engine just shuts down.

I’ve tried removing the vive/vehicle/environment folders, and it continues to have the same problem.

Is there a way to upgrade my project to 4.12.0 with the steam VR template?  
Is there a way to remove the steam VR template from my file?  
How do I upgrade the template from 1.8 to current version?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49491d491](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49491d491](https://forums.unrealengine.com/u/anonymous_user_49491d491)\
**Post date:** [June 5, 2016, 1:07pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/326 "2016-06-05T13:07:53Z")

</div>

same problem  
The error produced from here.  
https://.com/ProteusVR/SteamVR\_Template/blob/master/SteamVR\_Template/Plugins/VRGripMotionControllerPlugin/Source/VRGripMotionControllerPlugin/Private/GripMotionControllerComponent.cpp#L438

Engine Class removed MotionControllerDevices

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_911a9bf5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_911a9bf5](https://forums.unrealengine.com/u/anonymous_user_911a9bf5)\
**Post date:** [June 5, 2016, 1:56pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/327 "2016-06-05T13:56:40Z")

</div>

Yeah alot of the plugins and market place content is currently incompatible with 4.12. I don’t have enough experience to know when it will become compatible nor what is required to make them compatible. I rebuilt my project in 4.12 without the gripmotion plugin. Maybe someone with more experience can chime in.

---

<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:** [June 5, 2016, 3:40pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/328 "2016-06-05T15:40:32Z")

</div>

Epic changed the core method of querying the motion controllers in 4.12 so the 4.11 plugin won’t compile in 4.12. However I corrected it the day after 4.12 came out, if you download a new zip or pull the last commit from the plugins subversion the plugin will work again.

i also wrapped the changes in engine checks so the 4.12 compatible plugin should in theory still be compatible with 4.11 and prior.

Its been working for awhile now, you just have to update, this generally shouldn’t be a problem with the grip plugin but they re-worked a significant portion with this version (how to check the controller totally changed). Assuming no further interface changes it should survive intact through future engine versions with no issues.

TLDR: Re-download plugin, it was updated days ago.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_911a9bf5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_911a9bf5](https://forums.unrealengine.com/u/anonymous_user_911a9bf5)\
**Post date:** [June 5, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/329 "2016-06-05T16:37:14Z")

</div>

Awesome, good work man!

---

<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:** [June 5, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/330 "2016-06-05T19:03:43Z")

</div>

Thanks @ you’re the man.

---

<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:** [June 6, 2016, 4:11am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/331 "2016-06-06T04:11:10Z")

</div>

**Version 1.9.3 – UE4.12.0 : June 6, 2016**

- Updated to 4.12.0
- Updated grab plugin
- Removed Settings in Struc table and put within Vive\_Pawn / Level Blueprint / Lightsaber BP
- Updated docs

Fully tested for stable 90fps (GTX980), cooking & packaging Windows 10 x64

Onedrive & synced

Reminder  
To package your project: Don’t forget to File/New C++ class, None, Create Class before packaging, if not the plugin won’t follow. Be sure to have a working copy of Visual Studio 2015 enabled.

---

<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:** [June 6, 2016, 1:41pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/332 "2016-06-06T13:41:53Z")

</div>

> [@Proteus;542618](#):
>
> **Version 1.9.3 – UE4.12.0 : June 6, 2016**
> 
> - Updated to 4.12.0
> - Updated grab plugin
> - Removed Settings in Struc table and put within Vive\_Pawn / Level Blueprint / Lightsaber BP
> - Updated docs
> 
> Fully tested for stable 90fps (GTX980), cooking & packaging Windows 10 x64
> 
> Onedrive & synced
> 
> Reminder  
> To package your project: Don’t forget to File/New C++ class, None, Create Class before packaging, if not the plugin won’t follow. Be sure to have a working copy of Visual Studio 2015 enabled.

Proteus, has an all blueprint pickup system working well enough that I would encourage you to drop the plugin and do something simular. It is functionally very close to the plugin (aside from the OnHit node working) and is entirely in engine. So unless the OnHit event is very important to you it would be a cleaner solution for the example template (wouldn’t require a plugin which people seem to have problems using and adds another step).

https://.com//VRContentExamples/releases/tag/V1.2

Interactive world example in his project.

He has the pawn set up a little differently which allows the welded attachment to work correctly for held object to world collision.

---

<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:** [June 6, 2016, 3:19pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/333 "2016-06-06T15:19:24Z")

</div>

Thanks I’ll probably make an hybrid of the 2 templates since there’s interesting things in both projects; furthermore there seems to have a certain drag behind objects? is very good and dedicated we’ll probably continue to develop the template internally for our projects. 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:** [June 6, 2016, 3:32pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/334 "2016-06-06T15:32:45Z")

</div>

> [@Proteus;542917](#):
>
> Thanks I’ll probably make an hybrid of the 2 templates since there’s interesting things in both projects; furthermore there seems to have a certain drag behind objects? is very good and dedicated we’ll probably continue to develop the template internally for our projects. Thanks!

Oh I wasn’t suggesting replacing the template, just that his pickup solution is 90% of the plugin without the problems of having people have to update to the plugin (held collision has the normal physx jitter and there are no hit event triggers, but otherwise it works). There were quite a few people unsure of what to do after 4.12 came up and multiple others that had problems installing the plugin in the first place.

I need the plugin for my projects but I feel that most users won’t have that requirement.

---

<div class="post-metadata">

**Author:** ![Russellocean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Russellocean](https://forums.unrealengine.com/u/Russellocean)\
**Post date:** [June 6, 2016, 7:09pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/335 "2016-06-06T19:09:38Z")

</div>

I tried installing it as a template but I get this error

 ![Error.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/7/2d77b6986791bc4bd2d2810216ea63bd106e8819.png)

---

<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:** [June 7, 2016, 4:50am UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/336 "2016-06-07T04:50:44Z")

</div>

@nearbyboar Not sure what it can be, I tried to install it on 2 computers as templates and project files and it works. Try opening it as a project file (after deleting the template ini file).

I noticed also that UE4 is installed under (x86) folder. Maybe I’m wrong but the editor requires 64 bits, maybe the program should be under Program Files not (x86), but common sense tell me it doesn’t matter. Does you computer meets UE4 requirements?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe58dae7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe58dae7](https://forums.unrealengine.com/u/anonymous_user_fe58dae7)\
**Post date:** [June 7, 2016, 1:44pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/337 "2016-06-07T13:44:13Z")

</div>

Hi, thanks for making this! Sorry if this is a noob question, it’s my first week with UE4.

When it says in the pdf “Don’t forget to enable it before in Settings, with Menu buttons = 2 (UltraMan)” - where are these settings? Looking in world and project settings but can’t find anything. Should I connect something in the pawn blueprint?

---

<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:** [June 7, 2016, 2:56pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/339 "2016-06-07T14:56:19Z")

</div>

> [@;543583](#):
>
> Hi, thanks for making this! Sorry if this is a noob question, it’s my first week with UE4.
> 
> When it says in the pdf “Don’t forget to enable it before in Settings, with Menu buttons = 2 (UltraMan)” - where are these settings? Looking in world and project settings but can’t find anything. Should I connect something in the pawn blueprint?

Its at the Vive\_Pawn Event Graph:

[http://www2.pic-upload.de/thumb/30875990/11111.png](http://www.pic-upload.de/view-30875990/11111.png.html)

[http://www2.pic-upload.de/thumb/30875999/22222.png](http://www.pic-upload.de/view-30875999/22222.png.html)

---

<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:** [June 7, 2016, 2:57pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/340 "2016-06-07T14:57:51Z")

</div>

After the Update to Unreal Engine 4.12.1 today, its not possible to change the Transport mode to Tranpsort Mode 2 without crashing of the Unreal Editor.

---

<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:** [June 7, 2016, 3:05pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/341 "2016-06-07T15:05:54Z")

</div>

@ As I remember (can’t check right now), in your content browser there is a folder named Vive, you will find a bp called Settings. I think it’s what you are looking for.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe58dae7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe58dae7](https://forums.unrealengine.com/u/anonymous_user_fe58dae7)\
**Post date:** [June 7, 2016, 4:12pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/342 "2016-06-07T16:12:03Z")

</div>

@Diem I found it - opening the Vive\_Pawn blueprint and scrolling down on the right side in the ‘details’ tab.

---

<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:** [June 7, 2016, 7:01pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/343 "2016-06-07T19:01:27Z")

</div>

@Diem @ I removed the Settings Struct because it was causing problems when packaging the game. The Settings are now within the Settings section of Vive\_Pawn, Level blueprint and Lightsaber\_BP @Panther1987 You’re right it crashes. Investigating that right now.

---

<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:** [June 7, 2016, 10:03pm UTC](https://forums.unrealengine.com/t/steam-vr-template/60376/344 "2016-06-07T22:03:13Z")

</div>

@Panther1987 and all

Ok guys I found why you cannot compile or change anything to the Vive\_Pawn since 1.9.3. It’s not an error from our end – everything is(was) fine.

The culprit is the function Attach Actor to Component, inside the nodes “Spawn Poles at Chaperon’s Corners”. This function has been depreciated with 4.12

Just remove these nodes and everything will be allright. I’ll send a 1.9.3.1 version tonight with the function patched. It seems this is not the only project with this crash: [I can't figure out this 4.12 crash - Cinematics & Media - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?113294-I-can-t-figure-out-this-4-12-crash) and [4.12.1 Crash when trying to compile (DEMO PROJECT) - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/432401/4121-crash-when-trying-to-compile-demo-project.html)

Thanks Epic I just lost 3 hours of my life finding this one…

Edit: The problem was double. The Attach Actor to Component was replaced by AttachToComponent BUT there is also a bug with the ForEachLoop function. As soon you try to link something to the variables in/ou of the function, program crashes. This is a known bug (UE-31740) and will be fixed by Epic this week with a hotfix: [4.12.1 Crash when trying to compile (DEMO PROJECT) - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/432401/4121-crash-when-trying-to-compile-demo-project.html)

So for now the function is ok as far as you replace Attach Actor to Component and unlink variables in/ou from For Each Loop:

 ![For Each Loop.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/9/659ec18e954dc620b5761d4c1ef96ed0ded312e8.jpeg)

I’ll issue a fix this week following hotfix from Epic.

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

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