# UE5 packaged doesn't render without MobileHDR

**URL:** https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103
**Category:** General
**Tags:** development, unreal
**Created:** [August 30, 2024, 1:48pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103 "2024-08-30T13:48:03Z")
**Posts on this page:** 15
**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: [August 30, 2024, 1:48pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/1 "2024-08-30T13:48:04Z")

</div>

In my packaged build (regardless of it being Shipping/Debug/Development), nothing is rendered while playing unless MobileHDR is on. The game is running just fine as its outputting logs, just nothing on screen. No apparent errors in log.

Using: Most up to date August OS/UE5/Plugins.

---

<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: [September 1, 2024, 11:49am UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/2 "2024-09-01T11:49:28Z")

</div>

This happens with the Magic Leap examples as well.

---

<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: [September 3, 2024, 3:27pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/3 "2024-09-03T15:27:54Z")

</div>

The project files aren’t backwards compatible so we can’t downgrade to UE5.3.

We will be demoing our product next week, and having mobile HDR turned on produces that black static when screen mirroring.

---

<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: [September 3, 2024, 4:06pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/4 "2024-09-03T16:06:01Z")

</div>



---

<div class="post-metadata">

### Author: ![aheaney](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@aheaney](https://forum.magicleap.cloud/u/aheaney)
#### Post date: [September 3, 2024, 11:48pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/5 "2024-09-03T23:48:23Z")

</div>

Hello,

Sorry about the trouble. Just to confirm, I was able to reproduce this behavior. Our internal team is looking into this. We'll see if we can find a workaround. Just to confirm, can you please give the exact component versions that you were using? I was able to repro with slightly older components, but just to check-

These are the current latest versions-

OS - 1.9.0  
UE sdk - 1.6.0  
UE - 5.4.2 (latest commit to the 5.4-release-ml2 branch has hash 3334e7950335cebdb5c81fa1e46514baf76c87b2 )

Thanks!  
Adam

---

<div class="post-metadata">

### Author: ![aheaney](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@aheaney](https://forum.magicleap.cloud/u/aheaney)
#### Post date: [September 4, 2024, 12:19am UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/6 "2024-09-04T00:19:21Z")

</div>

Our team verified that the issue is still present. We'll file a bug on it internally. Thanks for raising this concern!

Also, something to consider- even if disabling the MobileHDR setting worked, you still probably wouldn't really be able to use the capture stream with virtual content composited with the feed from the camera. The noise would go away, but alpha will still be inverted, so the background will appear black and opaque in the stream. It's not ideal, but for a demo the best you can probably do is just to show the stream of the virtual content only.

If you're using the Capture function in ML Hub to show the stream, then you can set Visuals to Virtual Only to hide the camera feed-

 ![image](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/c/c18aad331636e2a47ec0aa788d7bd6e26302fda3.png)

If it works for your demo, another option would be to use remote rendering. If your app is running on a Windows pc, you won't have the issue with incoherent alpha and you can use post-processing to invert it. There's a guide on how to do this here-

> **[Remote Rendering with Unreal Engine 5 | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/remote-rendering/Applications/remote-render-unreal-engine-5/#alpha-channel-in-unreal-engine-5)**
>
> Remote Rendering with Unreal Engine 5.

Best,  
Adam

---

<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: [September 4, 2024, 5:38pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/7 "2024-09-04T17:38:04Z")

</div>

Thanks for getting back to me so quickly. I’ll look into the remote rendering. As a temporarily solution. Thank you!

---

<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: [September 4, 2024, 5:51pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/8 "2024-09-04T17:51:58Z")

</div>

Does remote rendering require the custom ue5 ml branch? Or can I use the normal UE5.4 as found on the epic games launcher?

---

<div class="post-metadata">

### Author: ![aheaney](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@aheaney](https://forum.magicleap.cloud/u/aheaney)
#### Post date: [September 4, 2024, 10:48pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/9 "2024-09-04T22:48:12Z")

</div>

np! It doesn't require it. You only need to use the ML specific UE branch if you want to package an app to run natively on your ML2. If you don't need the engine source code, you can use official UE 5.4 builds available from Epic's launcher.

This remote rendering guide page has some instructions for how to use the ML UE sdk without building the engine from source. Note that this only works with remote rendering. Also, not all of the MagicLeap plugins will work with remote rendering, but several of them do-

> **[Remote Rendering with Unreal Engine 5 | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/remote-rendering/Applications/remote-render-unreal-engine-5/#using-the-magic-leap-unreal-plugin-sdk)**
>
> Remote Rendering with Unreal Engine 5.

Btw, if it works for your project, I highly recommend setting remote rendering up anyways for Unreal development with ML, even if you're building a native app, as a workflow accelerator. You can use the VR preview in the UE editor to stream to the MagicLeap over remote render, which allows you to test changes instantly as a part of your inner loop, instead of having to build, package, and deploy every time.

---

<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: [September 6, 2024, 3:20pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/10 "2024-09-06T15:20:31Z")

</div>

You know what, your suggestion to use remote rendering as a part of my pipeline is an amazing idea I am kicking myself for not thinking of. It will make debugging so much easier and faster. You have just saved future me so many hours. If it's not already I'd add that suggestion to the "Getting Started" Unreal Engine section. Thank you for that.

---

<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: [September 6, 2024, 4:41pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/11 "2024-09-06T16:41:47Z")

</div>

Hi again,

I’m having trouble getting the background in the magic leap stream to be anything but black when using remote rendering. I followed the steps in the documentation, so I’m unsure what else to try.

---

<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: [September 6, 2024, 5:46pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/12 "2024-09-06T17:46:15Z")

</div>

Found the fix. The opacity adjustment just had to be reset to 0.

---

<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: [September 11, 2024, 11:10pm UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/13 "2024-09-11T23:10:15Z")

</div>

Been trying the remote rendering feature however there’s some really weird artifacts, with mesh vertices in the headset being in the wrong place, but not on the computer stream. As well as possibly the eyes rendering on the wrong side, super disorienting, unsure how to describe it.

Would there happen to be an alteration to UE5.4 I can make to remedy this?

---

<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: [September 12, 2024, 12:54am UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/14 "2024-09-12T00:54:50Z")

</div>

do you mind opening up a new topic with additional details so we can better assist and track the conversation?

---

<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: [September 12, 2024, 12:54am UTC](https://forum.magicleap.cloud/t/ue5-packaged-doesnt-render-without-mobilehdr/4103/15 "2024-09-12T00:54:56Z")

</div>


