# Widget on iOS is pitch black - but level is loading properly

**URL:** <https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159>\
**Category:** UI\
**Tags:** black-screen, unreal-engine, iOS, Widget, question\
**Created:** [October 16, 2017, 4:14pm UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159 "2017-10-16T16:14:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [October 16, 2017, 4:14pm UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159/1 "2017-10-16T16:14:16Z")

</div>

I got my project deploying to my phone but when it does the widget I am using for my HUD is pitch black and blocking out most of the screen. Its been a version or two since I last deployed to my phone but I had never seen this happen prior to 4.17 and I don’t believe I have changed the widget in question very much, not quite sure what is responsible. If I click on the Pause menu to bring up the Pause widget, that loads over the blackness fine.

You can see in the image below that the HUD is loading and that you can see a part of the level in the top left corner. What I find strange is that after the splash screen, it shows the entire level unobstructed for a brief second, and _then_ something loads that turns 95% of the screen black. I’m not sure how to find out what is being executed or spawned that it causing that. Most issues it seems on this board are with people not having default levels loaded properly, but that isn’t the case here. Any ideas?

Thanks

[iOS Logs HERE][1]

 ![216836-img-2528.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/7/b8734b0e2e3bfd7a314378801ed1a4826249d018.png)

---

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [October 17, 2017, 4:37pm UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159/2 "2017-10-17T16:37:31Z")

</div>

Okay, I spent a few hours last night just deleting things to see what would happen. Eventually I deleted enough things and the problem went, the problem is that it meant deleting my player character, my enemy spawn points (and there fore no enemies in the level either). Once I did that the camera’s black obstruction was gone and you could see the entire level.

I’m baffled as to why these actors are effecting the camera, they’re normal blueprint actors and weren’t causing any issues in 4.15 when I last launched on iOS. I first thought it could be their materials, which upon changing didn’t have effect. I then thought that perhaps the text render components on the spawn points we’re causing it, nope. I’ve attached a few of these actors in a zip file attached to this post. If anyone has any ideas please let me know… was trying to get this deployed by Saturday for an indie summit. link text

---

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [October 19, 2017, 5:15am UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159/3 "2017-10-19T05:15:12Z")

</div>

Ok, I have truly narrowed it down to the real culprit. It turns out it was a Widget Component that is acting as my HealthBar for every enemy and the player. I don’t know why its causing this issue but once I removed it everything worked great.

I’m not sure if its Widget Components in general or the Widget Class its using in question. Still investigating.

---

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [October 19, 2017, 5:24am UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159/4 "2017-10-19T05:24:11Z")

</div>

Okay, its not even just user widgets but specifically the Widget Class I was using for my HealthBar. I can’t tell what makes it unique other than the fact that it uses a HealthBar.

---

<div class="post-metadata">

**Author:** ![sarchasm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Post date:** [October 19, 2017, 5:54am UTC](https://forums.unrealengine.com/t/widget-on-ios-is-pitch-black-but-level-is-loading-properly/407159/5 "2017-10-19T05:54:25Z")

</div>

> **[UMG Progress bar iPhone causes black screen](https://forums.unrealengine.com/questions/701139/umg-progress-bar-iphone-causes-black-screen.html)**
>
> When creating a health bar for a game using widget component and UMG. If you use the built in progress bar and set its fill it will clip the entire screen inside the progress bar and fill the rest of the screen with black. This only happens on an...
