# VR UMG Compatibility Plugin!

**URL:** <https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [July 10, 2016, 8:46am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592 "2016-07-10T08:46:13Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![RolexRage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RolexRage](https://forums.unrealengine.com/u/RolexRage)\
**Post date:** [July 13, 2016, 10:02am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/21 "2016-07-13T10:02:22Z")

</div>

Thanks Nurt! that worked perfectly. ~~My next issue though, which is probably just me being silly, but I can’t see where this “Current VRWidget” is coming from and how I set it or where I create it. Anyone see what my issue is?~~ So I think I figured that out by making an empty VRWidget component in my VRPawn (under the branch of one of my motion controller components) and then making a CurrentVrWidget variable of VRWidget Component type, which might work.

Also, what method are people using to stick a widget to a motion controller? At the moment I have the VRWidget spawning and attached to the control but it is on the back of the controller, quite far away and at a weird angle.

---

<div class="post-metadata">

**Author:** ![pixelvspixel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pixelvspixel](https://forums.unrealengine.com/u/pixelvspixel)\
**Post date:** [July 14, 2016, 3:37am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/22 "2016-07-14T03:37:09Z")

</div>

Hey , have you had a chance to compile for 4.12 yet? Thanks!

---

<div class="post-metadata">

**Author:** ![RolexRage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RolexRage](https://forums.unrealengine.com/u/RolexRage)\
**Post date:** [July 14, 2016, 10:06am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/23 "2016-07-14T10:06:35Z")

</div>

~~So by copying over the blueprints from the example project I have managed to get everything to work (apart from hovering which doesn’t seem to) I was wondering how you would go about getting the menu to only pop up after you press a button to create it? Does it work the same way as a normal blueprint would in that you create it and add it to the viewport on button press and then destroy it on a second press?~~

Everything works! Awesome plugin!

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [July 14, 2016, 6:56pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/25 "2016-07-14T18:56:27Z")

</div>

> [@WilliamHooper;563675](#):
>
> First off , LOVE your work  
> Your other VRTemplate with teleport and UMG and web browser once I got it trimmed down and tested worked in GearVR, all but the spline field for teleport, and a weird thing with WebBrowser on focus shifting to a half screen top left eye and taking over controls. It did go to internet and get page… And the UMG linetrace interaction worked great in GearVR…
> 
> Now… this new plugin…
> 
> For GearVR it’s Not looking to good actually, I can not get the custom VRWidget to show up on GearVR although everything works in PIE.  
> It shows a blank canvas when built.  
> Up tonight testing all sorts of variables.  
> A BP with Widget inside it made from base widget will show up. But not custom VRWidget
> 
> Any one else here implement this in GearVR yet or just VIVE / RIFT?
> 
> I hope to eat my words by dawn and say I’ve got ti working, and if I do ill post…
> 
> Any ideas anyone?

Ok so no one using GearVR here has been excited enough to try yet,  
or encountered this problem yet?

Any feedback would be cool.  
even a yah me too, or WTH ya talking bout works fine for me, would be useful.

I’ll post if i get it working for others that might encounter this.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [July 14, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/26 "2016-07-14T19:03:48Z")

</div>

> [@WilliamHooper;564757](#):
>
> Ok so no one using GearVR here has been excited enough to try yet,  
> or encountered this problem yet?

I don’t plan on using much of interactive UI in my first project (and thus I don’t have any plans to test this), but I have a feeling there are only a few people in UE4 community who actually working on something using Gear VR (by something I mean a project to be released on Oculus platform). So not whole a lot of Gear VR devs who can test it, IMO.

☹

---

<div class="post-metadata">

**Author:** ![NobleSpoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NobleSpoon](https://forums.unrealengine.com/u/NobleSpoon)\
**Post date:** [July 16, 2016, 6:35pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/27 "2016-07-16T18:35:23Z")

</div>

Awesome work! It’s great to hear Epic is finally getting official support added for this. Now if they will just add official gamepad support for 3D UMG widgets I will be a happy developer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 17, 2016, 10:23am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/28 "2016-07-17T10:23:10Z")

</div>

> [@RolexRage;563277](#):
>
> Hi, I was wondering if this has been updated for 4.12 yet/ will be in the near future? I’m currently doing all of this menu stuff manually and having this would make my life so much easier.

> [@WilliamHooper;563675](#):
>
> First off , LOVE your work  
> Your other VRTemplate with teleport and UMG and web browser once I got it trimmed down and tested worked in GearVR, all but the spline field for teleport, and a weird thing with WebBrowser on focus shifting to a half screen top left eye and taking over controls. It did go to internet and get page… And the UMG linetrace interaction worked great in GearVR…
> 
> Now… this new plugin…
> 
> For GearVR it’s Not looking to good actually, I can not get the custom VRWidget to show up on GearVR although everything works in PIE.  
> It shows a blank canvas when built.  
> Up tonight testing all sorts of variables.  
> A BP with Widget inside it made from base widget will show up. But not custom VRWidget
> 
> Any one else here implement this in GearVR yet or just VIVE / RIFT?
> 
> I hope to eat my words by dawn and say I’ve got ti working, and if I do ill post…
> 
> Any ideas anyone?

> [@pixelvspixel;564265](#):
>
> Hey , have you had a chance to compile for 4.12 yet? Thanks!

> [@WilliamHooper;564757](#):
>
> Ok so no one using GearVR here has been excited enough to try yet,  
> or encountered this problem yet?
> 
> Any feedback would be cool.  
> even a yah me too, or WTH ya talking bout works fine for me, would be useful.
> 
> I’ll post if i get it working for others that might encounter this.

Sorry for the delay, got caught up with work, but I have some good news 🙂

I fixed Gear VR support and added a 4.12 build in the latest release [https://VRUMGPlugin/releases/tag/V0.2](https://VRUMGPlugin/releases/tag/V0.2)

I tested it on my end and it seems to be working fine, if there are any other problems let me know 🙂

---

<div class="post-metadata">

**Author:** ![IlllIl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IlllIl](https://forums.unrealengine.com/u/IlllIl)\
**Post date:** [July 17, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/29 "2016-07-17T14:00:37Z")

</div>

> [@;565983](#):
>
> Sorry for the delay, got caught up with work, but I have some good news 🙂
> 
> I fixed Gear VR support and added a 4.12 build in the latest release [https://VRUMGPlugin/releases/tag/V0.2](https://VRUMGPlugin/releases/tag/V0.2)
> 
> I tested it on my end and it seems to be working fine, if there are any other problems let me know 🙂

Hi , I wanna thank you being so involved with the VR community for starters.

I have a problem with the plugin unfortunately. It’s working fine in the VR Preview, but as soon as I build the game the plugin does not seem to have been included as it’s not loading at all?  
Have you got any suggestions as to why this might be?

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [July 17, 2016, 5:04pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/30 "2016-07-17T17:04:53Z")

</div>

Sir, Thank you again. Am implementing in a few, will get back with my 2 cents soon.

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [July 17, 2016, 10:13pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/31 "2016-07-17T22:13:13Z")

</div>

Allright, it works in GearVR now, Widget is shown…  
BUT…  
Rollovers on buttons (color swap) are a no go when its in GearVR, but CLICK does work and swaps out color.

I’ve been thru it a few times now and still have no rollovers

I am going to keep trying…

i kept re-reading what i wrote and i wasn’t clear… sorry edited.

ADDED: Ok well I keep trying different things… one was custom Player Controller with touch events enabled… nope.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 18, 2016, 10:41am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/33 "2016-07-18T10:41:37Z")

</div>

> [@IlllIl;566052](#):
>
> Hi , I wanna thank you being so involved with the VR community for starters.
> 
> I have a problem with the plugin unfortunately. It’s working fine in the VR Preview, but as soon as I build the game the plugin does not seem to have been included as it’s not loading at all?  
> Have you got any suggestions as to why this might be?

Are you using the latest version (0.2) from ? it should fix that problem

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 18, 2016, 10:42am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/34 "2016-07-18T10:42:39Z")

</div>

> [@WilliamHooper;566184](#):
>
> Allright, it works in GearVR now, Widget is shown…  
> BUT…  
> Rollovers on buttons (color swap) are a no go when its in GearVR, but CLICK does work and swaps out color.
> 
> I’ve been thru it a few times now and still have no rollovers
> 
> I am going to keep trying…
> 
> i kept re-reading what i wrote and i wasn’t clear… sorry edited.
> 
> ADDED: Ok well I keep trying different things… one was custom Player Controller with touch events enabled… nope.

I’ll see what I can do, the lack of having a mouse on android may be a problem, but I’ll have a look at it in a few days when I’m free

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [July 19, 2016, 6:46pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/35 "2016-07-19T18:46:11Z")

</div>

> [@;566442](#):
>
> I’ll see what I can do, the lack of having a mouse on android may be a problem, but I’ll have a look at it in a few days when I’m free

Thank you ,

what ever you did on the other VR Content Examples once I got things sorted the rollovers / clicks all worked in GearVr.

the spline teleport did not though.  
And the Webbrowser I found is having issues that have been reported to unreal by others already, webbrowser widget gets half left eye focus when it becomes visible in world as object… odd bug.

ok man look forward to seeing if ya can get that going…

EDITED:

Been looking at the VR Content Examples BP’s… what ever you did with Functions in Pawn/Character the InteractWithHit and the trace Enter, Leave, Over, Out, Move, Down, Up seems like whats needed, i saw there are only a Emulate Touch Down, Move, and Up in the VR UMG Compatibility Plugin… I am not quite sure where to start trying this myself… might try something later if it clicks in the old brain. If it had an Emulate for Enter Leave Over Out I could see that fixing it…

I dont think not having a mouse is problem. Since you made it work on the VR Content Examples and that does rollover, and clicks in GearVR.

end Edit.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 20, 2016, 1:27am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/36 "2016-07-20T01:27:14Z")

</div>

> [@WilliamHooper;567276](#):
>
> Thank you ,
> 
> what ever you did on the other VR Content Examples once I got things sorted the rollovers / clicks all worked in GearVr.

I would not take the Content Examples as working as I pretty much just re-implemented a simple version of slates input system entirely in blueprints so it used UMG to draw stuff but all the hover and click and all that was my own custom logic which is why it works for the Gear but it doesn’t work for any of the in build UMG widgets.

What I might suggest is you wait for 4.13 for Nick Darnell’s overhaul of the Widget Component to allow for Virtual input unless you really need 100% functioning UI right now

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [July 20, 2016, 2:32am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/37 "2016-07-20T02:32:40Z")

</div>

> [@;567489](#):
>
> I would not take the Content Examples as working as I pretty much just re-implemented a simple version of slates input system entirely in blueprints so it used UMG to draw stuff but all the hover and click and all that was my own custom logic which is why it works for the Gear but it doesn’t work for any of the in build UMG widgets.
> 
> What I might suggest is you wait for 4.13 for Nick Darnell’s overhaul of the Widget Component to allow for Virtual input unless you really need 100% functioning UI right now

I know already my system is not happy with 4.12, vid card insists on update that is nonexistent. It loads anyway and screams when in use.  
Also terrified what works in 4.11 might not in 4.12-4.13.

looking into the promoted 4.13 version later to see whats what…

I doubt it will be anytime soon or this year i can do any sort of upgrades hardware wise at all. I feel my ceiling is hit with 4.11.

In any case thank you for all replies and help so far

---

<div class="post-metadata">

**Author:** ![hydrojan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hydrojan](https://forums.unrealengine.com/u/hydrojan)\
**Post date:** [July 29, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/38 "2016-07-29T12:48:04Z")

</div>

Can I use this with Leap Motion?

---

<div class="post-metadata">

**Author:** ![luckpolar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@luckpolar](https://forums.unrealengine.com/u/luckpolar)\
**Post date:** [August 5, 2016, 4:10am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/39 "2016-08-05T04:10:02Z")

</div>

Hi,  
First of all, thank you for your VR Widget.  
I used it in my project(UE 4.12), and it seems work.  
But here I have a problem about communicate between VR\_Widget and other Actor BP.  
I want to use the VR\_Widget to set an Actor BP’s(named:Cube) cube material.  
I use the Event Dispatchers which are called when UMG Buttons were clicked.

 ![12.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/9/a998313f2d919993f2bc51e725147bd9a7ba2edb.png)  
 ![13.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/7/87907fefe41e492818b1d6e7044e624cfef34057.png)  
Then,in the Actor BP, I bind event(setting mateiral) to the Event Dispatchers.  
 ![14.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/4/d43179963181955c132233b0705b8daf9e870b1a.png)  
I test it in VR Preview and the click motion works fine But the Setting mateiral motion doesn’t work.  
I know it may be a little far away from this theme,but I really can’t figure it out.  
Could you please tell me what’s wrong with my BP?  
Thank you a lot.  
Luck Xu

---

<div class="post-metadata">

**Author:** ![WilliamHooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WilliamHooper](https://forums.unrealengine.com/u/WilliamHooper)\
**Post date:** [August 5, 2016, 5:36pm UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/40 "2016-08-05T17:36:52Z")

</div>

In GearVR everything but button rollover worked great… it was the final straw for me. I am stopping for awhile. And waiting for 4.13 to get stable. Mentioned RollOver awhile back said he was very busy right now with school and would try look into it to see if was an easy fix and he’d let me know. I have not heard back. School I’m guessing… whew 2 task’s and a half that one… lot to do.

Good Luck …

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [August 7, 2016, 3:50am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/41 "2016-08-07T03:50:17Z")

</div>

> [@;576212](#):
>
> Hi,  
> First of all, thank you for your VR Widget.  
> I used it in my project(UE 4.12), and it seems work.  
> But here I have a problem about communicate between VR\_Widget and other Actor BP.  
> I want to use the VR\_Widget to set an Actor BP’s(named:Cube) cube material.  
> I use the Event Dispatchers which are called when UMG Buttons were clicked.
> 
> Then,in the Actor BP, I bind event(setting mateiral) to the Event Dispatchers.
> 
> I test it in VR Preview and the click motion works fine But the Setting mateiral motion doesn’t work.  
> I know it may be a little far away from this theme,but I really can’t figure it out.  
> Could you please tell me what’s wrong with my BP?  
> Thank you a lot.  
> Luck Xu

Hey, Everything is right except that last step, What you have done is what you do in the traditional 2D workflow, instead what you need to do is go into the actual Actor that holds the Widget Component and get that components widget then bind to its events, like this:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [August 7, 2016, 3:51am UTC](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592/42 "2016-08-07T03:51:40Z")

</div>

> [@hydrojan;572715](#):
>
> Can I use this with Leap Motion?

Don’t see why not, no multi touch gestures but everything else should work fine

[Previous page](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592.md?page=1)

[Next page](https://forums.unrealengine.com/t/vr-umg-compatibility-plugin/68592.md?page=3)
