# VR Expansion Plugin

**URL:** <https://forums.unrealengine.com/t/vr-expansion-plugin/68709>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [July 11, 2016, 6:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709 "2016-07-11T18:16:57Z")\
**Posts on this page:** 20\
**Page:** 123

<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 19, 2018, 12:17pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2504 "2018-06-19T12:17:03Z")

</div>

> [@Mallory85](#):
>
> OK i use 4.18 Version
> 
> I make Profiles and load it but not work
> 
> maybe I forgot something?

The template should already have it in it unless you just upgraded from an earlier version (4.16, 4.17 had it i think), in that case you would need to use the OffsetTransformByControllerProfile node and combine it with the slot grip transform.

In 4.19 it can be automatic with the new settings in the motion controllers, I don’t intend to back port that to 4.18 though since it took some extensions to other classes.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 19, 2018, 12:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2505 "2018-06-19T12:52:48Z")

</div>

No 4.18 no upgraded

So what exactly do I have to do now?

---

<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 19, 2018, 1:12pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2506 "2018-06-19T13:12:21Z")

</div>

> [@Mallory85](#):
>
> No 4.18 no upgraded
> 
> So what exactly do I have to do now?

if you load the profile then it should offset the grips for you when you hold an object at the socket then. There is no need for an offset when held outside of a socket as its relative.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 19, 2018, 2:07pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2507 "2018-06-19T14:07:03Z")

</div>

Ok i load you can see here but have no effect

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 19, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2508 "2018-06-19T14:49:16Z")

</div>

I have a spawn Problem with Vive,

i spawn in World not at the position of “Player Start” It depends on where my headset is in the room where I appear in the game!

is there a possibility that i start exactly at the player start spawn no matter where the headset is in the real world?

---

<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 19, 2018, 4:20pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2509 "2018-06-19T16:20:48Z")

</div>

> [@Mallory85](#):
>
> I have a spawn Problem with Vive,
> 
> i spawn in World not at the position of “Player Start” It depends on where my headset is in the room where I appear in the game!
> 
> is there a possibility that i start exactly at the player start spawn no matter where the headset is in the real world?

Offset the spawn by it, the reason its not automatic is because I would have to make a custom game mode as well, also in multiplayer you have to query the client as to their offset before spawning. That being said the template does offset by HMD location, though it needs to have an additional delay for it to wait for valid tracking data in some situations.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 19, 2018, 5:00pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2510 "2018-06-19T17:00:20Z")

</div>

> [@](#):
>
> Offset the spawn by it, the reason its not automatic is because I would have to make a custom game mode as well, also in multiplayer you have to query the client as to their offset before spawning. That being said the template does offset by HMD location, though it needs to have an additional delay for it to wait for valid tracking data in some situations.

Sorry my english is not so good, did you write a solution?

and can you say me why the Controller Profile dont work? [https://forums.unrealengine.com/development-discussion/vr-ar-development/89050-vr-expansion-plugin?p=1491160#post1491160](https://forums.unrealengine.com/development-discussion/vr-ar-development/89050-vr-expansion-plugin?p=1491160#post1491160)

---

<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 19, 2018, 6:51pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2511 "2018-06-19T18:51:30Z")

</div>

> [@Mallory85](#):
>
> Sorry my english is not so good, did you write a solution?
> 
> and can you say me why the Controller Profile dont work? [https://forums.unrealengine.com/deve…60#post1491160](https://forums.unrealengine.com/development-discussion/vr-ar-development/89050-vr-expansion-plugin?p=1491160#post1491160)

Because you are on 4.18, you have to manually use the profile in 4.18 if you aren’t using the template (the template already implements it). You use the node OffsetByControllerProfile to alter the socket transform for the profile, the 4.18 template has an example of .

https://.bitbucket.io/VRExpansionPlugin/VR/VRGlobalSettings/nodes/AdjustTransformByControllerProfile.html

In 4.19 and beyond it automatically handles it inside of the controller itself if you have it enabled.

And yes, on spawn offset the spawn location by the HMDs location to account for the offset, again is also shown in the example template.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 19, 2018, 11:32pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2512 "2018-06-19T23:32:42Z")

</div>

Yes i use the Template but where i can find the example?

---

<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 19, 2018, 11:42pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2513 "2018-06-19T23:42:35Z")

</div>

> [@Mallory85](#):
>
> Yes i use the Template but where i can find the example?

Player controller for the spawning, GripDropOrUseObject\_Clean function for the profile offset.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 20, 2018, 10:54am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2514 "2018-06-20T10:54:37Z")

</div>

Is it correct?

Edit: Work 🙂 Thank you man

Only i dond unterstand what I have to do to spawn on the same point if Player Start No matter where the headset is in room

---

<div class="post-metadata">

**Author:** ![bdec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bdec](https://forums.unrealengine.com/u/bdec)\
**Post date:** [June 20, 2018, 8:51pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2515 "2018-06-20T20:51:47Z")

</div>

Hi every one! First of all, I’m really sorry to ask help for something as simple as , but I’m kind of beginner in Unreal.

I’ve been trying to install plug-in for the last two days at home, but it doesn’t work.

I did try to follow the step by step tutorial, but it seems that it is a bit outdated… I even got a few 404 error in the links. I installed Visual Studio with all the C++ plug-ins, SDK for windows 10 and the SDK 8.1 and I still get errors every where

I’m on 4.19.2. Anybody could give me a hand on ? :-S

---

<div class="post-metadata">

**Author:** ![mechanicalsnowman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mechanicalsnowman/32/88714_2.png) [@mechanicalsnowman](https://forums.unrealengine.com/u/mechanicalsnowman)\
**Post date:** [June 20, 2018, 9:44pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2516 "2018-06-20T21:44:31Z")

</div>

When I package, the plugin doesn’t seem to be active. The camera falls straight to the ground and the game doesn’t start in VR. :eek:

Any tips? I’ve added the correct line to my project’s Build.cs, building the project’s solution in Visual Studio completes with no errors, and the package itself completes with no errors.

Am I forgetting something?

---

<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 21, 2018, 12:05am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2517 "2018-06-21T00:05:41Z")

</div>

> [@mechanicalsnowman](#):
>
> When I package, the plugin doesn’t seem to be active. The camera falls straight to the ground and the game doesn’t start in VR. :eek:
> 
> Any tips? I’ve added the correct line to my project’s Build.cs, building the project’s solution in Visual Studio completes with no errors, and the package itself completes with no errors.
> 
> Am I forgetting something?

Make sure you are using the correct game mode and player controller?

---

<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 21, 2018, 12:07am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2518 "2018-06-21T00:07:04Z")

</div>

> [@bdec](#):
>
> Hi every one! First of all, I’m really sorry to ask help for something as simple as , but I’m kind of beginner in Unreal.
> 
> I’ve been trying to install plug-in for the last two days at home, but it doesn’t work.
> 
> I did try to follow the step by step tutorial, but it seems that it is a bit outdated… I even got a few 404 error in the links. I installed Visual Studio with all the C++ plug-ins, SDK for windows 10 and the SDK 8.1 and I still get errors every where
> 
> I’m on 4.19.2. Anybody could give me a hand on ? :-S

What errors specifically? the VS installation is the same as for the engine at large.

---

<div class="post-metadata">

**Author:** ![mechanicalsnowman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mechanicalsnowman/32/88714_2.png) [@mechanicalsnowman](https://forums.unrealengine.com/u/mechanicalsnowman)\
**Post date:** [June 21, 2018, 1:06am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2519 "2018-06-21T01:06:38Z")

</div>

> [@](#):
>
> Make sure you are using the correct game mode and player controller?

Lol I was like “Does guy think I’m some kind of amateur?”

The actual issue was I forgot to check on “Play in VR” :o

\*\*Edit: \*\*I have another strange problem now, I’m wondering if you might know anything about why happens. Overlap events don’t fire in a packaged game, with the VRRootReference querying Overlap and End Overlap.

I searched and found [https://answers.unrealengine.com/que…and-build.html](https://answers.unrealengine.com/questions/272755/collisions-not-working-after-package-and-build.html) but with no solution, I’ve never had issue before in any previous projects and is a completely new project, any clues about why? Will do some further checks to see if it happens with non-plugin overlaps, to see if it’s a general engine issue or plugin specific.

---

<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 21, 2018, 1:36am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2520 "2018-06-21T01:36:45Z")

</div>

> [@mechanicalsnowman](#):
>
> Lol I was like “Does guy think I’m some kind of amateur?”
> 
> The actual issue was I forgot to check on “Play in VR” :o
> 
> \*\*Edit: \*\*I have another strange problem now, I’m wondering if you might know anything about why happens. Overlap events don’t fire in a packaged game, with the VRRootReference querying Overlap and End Overlap.
> 
> I searched and found [https://answers.unrealengine.com/que…and-build.html](https://answers.unrealengine.com/questions/272755/collisions-not-working-after-package-and-build.html) but with no solution, I’ve never had issue before in any previous projects and is a completely new project, any clues about why? Will do some further checks to see if it happens with non-plugin overlaps, to see if it’s a general engine issue or plugin specific.

You don’t need play in VR if you manually start VR up.

Also no, I haven’t had packaged specific overlap issues.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [June 21, 2018, 2:01am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2521 "2018-06-21T02:01:58Z")

</div>

> [@](#):
>
> And yes, on spawn offset the spawn location by the HMDs location to account for the offset

can you show me how to do it?

---

<div class="post-metadata">

**Author:** ![bdec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bdec](https://forums.unrealengine.com/u/bdec)\
**Post date:** [June 21, 2018, 7:42am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2522 "2018-06-21T07:42:30Z")

</div>

> [@](#):
>
> What errors specifically? the VS installation is the same as for the engine at large.

Thanks for answering back!

I found my problem, I just needed to restart my computer once more and it worked… o.O

If you don’t mind thought, I would like to ask you a little question about the plug-in…

To make it simple, I’m working on my master degree and my project includes some specific locomotion. I’ve been able to make most of them by myself, but when I found your plugins, I thought it would probably be a lot better than what I would do! So, I would like to ask you if you would accept to be credited in my Memoir and, if yes, under wich name (your real name or your nickname!)

Also about my master degree, I’m currious, is there a “fly mode” in your plug-in? I didn’t find it…

Thanks again for your help even if I found a solution on my side! XD

---

<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 21, 2018, 12:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2523 "2018-06-21T12:21:55Z")

</div>

> [@bdec](#):
>
> Thanks for answering back!
> 
> I found my problem, I just needed to restart my computer once more and it worked… o.O
> 
> If you don’t mind thought, I would like to ask you a little question about the plug-in…
> 
> To make it simple, I’m working on my master degree and my project includes some specific locomotion. I’ve been able to make most of them by myself, but when I found your plugins, I thought it would probably be a lot better than what I would do! So, I would like to ask you if you would accept to be credited in my Memoir and, if yes, under wich name (your real name or your nickname!)
> 
> Also about my master degree, I’m currious, is there a “fly mode” in your plug-in? I didn’t find it…
> 
> Thanks again for your help even if I found a solution on my side! XD

Either is fine

And the VR Character is basically the full UE4 Character class, change the movement mode to “Fly” or my custom “LowGrav”. The blueprints for different movement modes are just VR specific implementations.

[Previous page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=122)

[Next page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=124)
