# Material not Rendering (Shipping Build)

**URL:** <https://forums.unrealengine.com/t/material-not-rendering-shipping-build/468950>\
**Category:** Rendering\
**Tags:** static-mesh-disappea, unreal-engine, Rendering, question\
**Created:** [July 31, 2020, 5:02am UTC](https://forums.unrealengine.com/t/material-not-rendering-shipping-build/468950 "2020-07-31T05:02:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spidermined](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spidermined](https://forums.unrealengine.com/u/Spidermined)\
**Post date:** [July 31, 2020, 5:02am UTC](https://forums.unrealengine.com/t/material-not-rendering-shipping-build/468950/1 "2020-07-31T05:02:48Z")

</div>

I have two actors and when I set one of them to **Hidden In Game** , the other actor disappears when the game is packaged as a **Shipping** build, but not as a **Development** build. It will reappear when the first actor has Hidden In Game disabled.

The actor that I am toggling **Hidden In Game** on contains a **Widget Component**. The other actor contains a **Static Mesh Component** , which uses a Material that renders the content from a MediaPlayer asset that was created in the editor.

I created a **Game Instance Subsystem** , which stores a reference to the **MediaPlayer** asset and its **Material** asset and I used the AddToRoot() method so hopefully neither would get garbage collected. The MediaPlayer’s Material is set to User Interface and Opaque.

The only way I have discovered I can prevent the actor with the Static Mesh Component from disappearing is if I add a new Static Mesh Component that uses a different material – Surface, Opaque, Unlit.

Does this seem like a bug or a is it possibly a misconfigured material?

- UE 4.24.3 (Launcher)
- Target Hardware: Oculus Quest

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 31, 2020, 7:33am UTC](https://forums.unrealengine.com/t/material-not-rendering-shipping-build/468950/2 "2020-07-31T07:33:09Z")

</div>

I’m seeing a lot of people talking about widgets missing in packaged games at the moment.

Although it might be some kind of bug, the solution that usually works is doing one or two things:

1. Take a look in the reference viewer and make sure something that is packing depends on the thing that is missing

2. And / or: Refer directly to the thing that is not getting packaged in something you know is getting packaged.
