# \[Gear VR\] Event Receive Draw HUD doesn't get proper screen coordinates in 4.12.4

**URL:** <https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649>\
**Category:** UI\
**Tags:** Render, hud, unreal-engine, bug-report, gear-vr, question\
**Created:** [July 1, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649 "2016-07-01T14:01:12Z")\
**Posts on this page:** 11\
**Page:** 1

<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 1, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/1 "2016-07-01T14:01:12Z")

</div>

While 3D Widget rendering in VR (when parented directly to the camera) is broken, I draw global menu activation progress bar and crosshair in the HUD:

[https://s32.postimg.org/892f3rdub/ue4\_draw\_HUD\_issue.png](https://s32.postimg.org/892f3rdub/ue4_draw_HUD_issue.png)

Full: [https://s32.postimg.org/892f3rdub/ue4\_draw\_HUD\_issue.png](https://s32.postimg.org/892f3rdub/ue4_draw_HUD_issue.png)

That worked perfectly fine in 4.11.2 and both crosshair and progress bar were drawn dead in the center of the screen in Gear VR. However, in 4.12.4 same BP draws stuff off-centered in VR, but centered in PIE.

Here is VR capture: [com Company GearVR test3 411v5 20160630 211155 - YouTube](https://youtu.be/7hmKAtvAKpo?t=1m29s)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [July 5, 2016, 5:44pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/2 "2016-07-05T17:44:44Z")

</div>

Hi Motorsep,

There is a lot of assumption here with your setup, at least on my part. Can you please post detailed repro steps or a newly created project in 4.11 that reproduces the issue difference between 4.12.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![keaukraine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@keaukraine](https://forums.unrealengine.com/u/keaukraine)\
**Post date:** [July 5, 2016, 6:13pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/3 "2016-07-05T18:13:35Z")

</div>

Hi Tim. Sorry for answering before motorsep, however I have exactly the same issue with Gear VR HUD which is a showstopper for us ( you can mark it as duplicate if necessary, here it is - [GearVR HUD is misplaced - UI - Epic Developer Community Forums](https://answers.unrealengine.com/questions/445396/gearvr-hud-is-misplaced.html) ).

Steps to reproduce are really simple:

1. Create new First Person Shooter Template in 4.12 and configure it for Gear VR.
2. Edit default HUD and connect DrawTexture node directly to draw HUD event.
3. Run app on Gear VR and see displaced HUD.

Here are screenshots:

1. Default HUD - it is disabled for VR:

 ![97229-default-hud.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/0/300a9e0e7136a1715056f0633e8afa0fe6ee6746.png)

1. Enabled for VR HUD:

 ![97230-enabled-hud.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/0/5e07d5d0bc0a666fd21e3cb9bfe0c3afa0c977ba.png)

1. Screenshot with bug:

 ![97242-screenshot_2016-07-05-20-59-11.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/4/8f439faf4a126a40a6aec84e879f910eb8248f3f.jpeg)

As you can see, default FPS template HUD in 4.12 is effectively disabled for VR which makes me believe that someone at Epic is already aware of issue and disabled drawing HUD for VR. However, in 4.11 HUD is not disabled for VR and projects migrated from 4.11 suffer from issue. Please note that official [Gear VR Global Menu tutorial](https://docs.unrealengine.com/latest/INT/Platforms/GearVR/GlobalMenu/index.html) is also broken because of this bug.

I hope provided information is enough.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [July 5, 2016, 6:16pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/4 "2016-07-05T18:16:50Z")

</div>

Cool. Thanks for the details. Unfortunately, I don’t know everything about everything and wasn’t aware of this page in the documentation. I’ll take a look and update you with what I find. 🙂

---

<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 6, 2016, 3:27am UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/5 "2016-07-06T03:27:17Z")

</div>

What keaukraine said! Sorry, had a busy day at work, couldn’t make any examples.

I got some comparison screenshots made for my setup:

4.12 PIE:

[https://s31.postimg.org/xabvvyw7t/ue412\_draw\_HUD\_issue\_PIE.png](https://s31.postimg.org/xabvvyw7t/ue412_draw_HUD_issue_PIE.png)

4.12 Device:

[https://s31.postimg.org/exqnyq65l/ue412\_draw\_HUD\_issue\_device.png](https://s31.postimg.org/exqnyq65l/ue412_draw_HUD_issue_device.png)

4.11 Device (never mind low fps and black rocks):

[https://s32.postimg.org/hjzu7jbir/ue411\_draw\_HUD\_issue\_device.png](https://s32.postimg.org/hjzu7jbir/ue411_draw_HUD_issue_device.png)

BP setup (HUD class):

[https://s32.postimg.org/uf43vk4pv/ue412\_draw\_HUD\_issue\_BP.png](https://s32.postimg.org/uf43vk4pv/ue412_draw_HUD_issue_BP.png)

---

<div class="post-metadata">

**Author:** ![aeonsparx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aeonsparx](https://forums.unrealengine.com/u/aeonsparx)\
**Post date:** [July 24, 2016, 4:33pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/6 "2016-07-24T16:33:32Z")

</div>

Hi,  
I want to confirm that the same issue happens to my GearVR build in 4.12.5. It works perfectly in Editor with PIE but in GearVR it seems to be offset a little to the right.  
It works perfectly when I rebuild the project for 4.11.

 ![13833298_585297581658853_513728589_o.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/b/ab2f6bef2b4a3279790ae73212e4b9d0686621f1.jpeg)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [August 3, 2016, 9:15pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/7 "2016-08-03T21:15:34Z")

</div>

Hey all,

Sorry for the delay, but this has now been reported with [UE-34180](https://issues.unrealengine.com/issue/UE-34180).

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![Bushey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bushey](https://forums.unrealengine.com/u/Bushey)\
**Post date:** [September 26, 2016, 7:55am UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/8 "2016-09-26T07:55:02Z")

</div>

I’m having similiar issues - in 4.13 - my project was perfect in 4.10 - now my progress bar back to the global menu is offset in the same way as described above. What’s the last version that this was working in - I may need to use that one unless there is a fix soon.

Cheers!

---

<div class="post-metadata">

**Author:** ![Bushey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bushey](https://forums.unrealengine.com/u/Bushey)\
**Post date:** [September 26, 2016, 7:56am UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/9 "2016-09-26T07:56:12Z")

</div>

Hey Tim, any update on when this is likely to be fixed. I was planning on submitting my app this week and now I’m stuck.

Many thanks,

Paul

---

<div class="post-metadata">

**Author:** ![Bushey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bushey](https://forums.unrealengine.com/u/Bushey)\
**Post date:** [September 26, 2016, 7:59am UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/10 "2016-09-26T07:59:24Z")

</div>

Hey Tim, any update on when this is likely to be fixed. I was planning on submitting my app this week and now I’m stuck.

Many thanks,

Paul

---

<div class="post-metadata">

**Author:** ![Bushey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bushey](https://forums.unrealengine.com/u/Bushey)\
**Post date:** [January 6, 2017, 1:11pm UTC](https://forums.unrealengine.com/t/gear-vr-event-receive-draw-hud-doesnt-get-proper-screen-coordinates-in-4-12-4/362649/11 "2017-01-06T13:11:51Z")

</div>

Does anyone have a suggestion on how to fix/side step this issue? Epic says on the bug report page “Use widgets, layers, or geometry instead” All well and good but I don’t know where to start with this kind of thing…

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-34180)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.
