# \[BUG\] UE5 Gaze Tracking cuts off screen

**URL:** <https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140>\
**Category:** Unreal Engine\
**Tags:** development, unreal\
**Created:** [February 6, 2024, 1:43pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140 "2024-02-06T13:43:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 6, 2024, 1:43pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/1 "2024-02-06T13:43:39Z")

</div>

When I use the "GetGazeData" blueprint node in EventTick on my pawn (and nothing else) the bottom half of my vision/screen is cut off more often than not. No geometry or anything.

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 6, 2024, 2:39pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/2 "2024-02-06T14:39:37Z")

</div>

Actually this issue doesn't seem to be restricted to just GetGazeData()

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 6, 2024, 2:58pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/3 "2024-02-06T14:58:22Z")

</div>

If I try to take a screenshot of it, the issue goes away. But as soon as the screenshot window goes away the problem comes back.

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 6, 2024, 5:55pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/4 "2024-02-06T17:55:29Z")

</div>

Issue goes away when packaged as Shipping. I think this means then that the printed logs in the top left of the screen cause this.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 7, 2024, 4:58pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/5 "2024-02-07T16:58:42Z")

</div>

Hi @rob42lou,

Thank you for reaching out to us regarding this issue. I have shared this bug with our team. Would you mind sharing a few details to help get this issue to our team for fixing.

- Unreal version
- ML2 OS Version
- ML SDK Version
- Development OS (e.g. Mac, Windows)

Best,

El

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 7, 2024, 7:39pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/6 "2024-02-07T19:39:48Z")

</div>

Sure:

UE: 5.3.2  
ML2: 1.50  
MLSDK: Most recent.  
Dev: Windows

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 13, 2024, 4:43pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/7 "2024-02-13T16:43:06Z")

</div>

Hi @rob42lou,

Would you mind sending the logs that are being printed as well along with any errors?

This will help us debug this issue.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 29, 2024, 6:51pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/8 "2024-02-29T18:51:07Z")

</div>

> [@rob42lou](#):
>
> the bottom half of my vision/screen is cut off more often than not. No geometry or anything.

How do you take a screenshot of this? Using the shortcut with the home button and the bumper?

And when you mention the issue going away, this means that the pixels show again? are the pixels not rendering?

Best,

El

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [February 29, 2024, 7:29pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/9 "2024-02-29T19:29:19Z")

</div>

To take a screenshot I go back to the Magic Leap menu and then click the screenshot button and resume my app.

And yes, the bottom half of the screen begins to work correctly if there are no logs present (or I'm in screenshot mode). If there are print logs in the top left the bottom half of the screen is just empty, as if the geometry is being cutoff because it's too close to the screen.

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [April 25, 2024, 8:46pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/12 "2024-04-25T20:46:59Z")

</div>

@rob42lou Have you been able to resolve this, do you have a sample project or repro steps for this issue? How were you able to print logs in the top left?

---

<div class="post-metadata">

**Author:** ![rob42lou](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rob42lou/32/656_2.png) [@rob42lou](https://forum.magicleap.cloud/u/rob42lou)\
**Post date:** [May 4, 2024, 3:32pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/13 "2024-05-04T15:32:09Z")

</div>

It seems to have stopped being an issue with this past update. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/bd9b737a4d45ea243aa7eb177d60a773b806899a.svg) [@system](https://forum.magicleap.cloud/u/system)\
**Post date:** [May 19, 2024, 3:32pm UTC](https://forum.magicleap.cloud/t/bug-ue5-gaze-tracking-cuts-off-screen/3140/14 "2024-05-19T15:32:51Z")

</div>

Closed on May 19, 2024, 3:32pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
