# Single frame of blackness during iOS startup

**URL:** <https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344>\
**Category:** Rendering\
**Tags:** black-screen, unreal-engine, iOS, Rendering, question\
**Created:** [February 4, 2016, 12:09am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344 "2016-02-04T00:09:12Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [February 4, 2016, 12:09am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/1 "2016-02-04T00:09:12Z")

</div>

Waited until I was on 4.11 before reporting this.

A few months ago I switched to a white splash screen and white menu backdrop. This exposed a frame of blackness that I don’t seem to be able to nuke. It’s pretty ugly.

Even drawing a full screen white rectangle in void AMM\_HUD::DrawHUD() on the first frame (when stopped in the debugger at this point the splash screen is still showing) doesn’t stop it happening.

Known issue? Got any workarounds?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [March 29, 2016, 10:02pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/2 "2016-03-29T22:02:29Z")

</div>

This is still an issue for me and a fairly major one as it’s really ugly.

What am I missing?!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [July 3, 2016, 3:38am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/3 "2016-07-03T03:38:31Z")

</div>

Still happens in 4.12

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [December 30, 2016, 5:19am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/4 "2016-12-30T05:19:18Z")

</div>

Still happens in 4.13.

I need a way to transition from the splash screen to something I have control of, seems like a straightforward request so I guess I’m doing something wrong.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 9, 2017, 4:48am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/5 "2017-01-09T04:48:43Z")

</div>

And still happens in 4.14.

Anyway to extent the frames the splash is shown for? Or do I need to look at playing a movie?

More likely that I’d just switch to a black intro background and fade in from then but this seems a bit like the dark ages!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 17, 2017, 8:22am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/6 "2017-01-17T08:22:00Z")

</div>

Moved to bug reports.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 18, 2017, 3:20pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/7 "2017-01-18T15:20:10Z")

</div>

Hey -

What devices have you tested on that you’re seeing this happen? What is the OS of any devices used to test? Also, can you tell me about the project you’re testing with? Is it a code project or a blueprint project? Do you see the same behavior if you load the first person template without starter content onto your device? If so, please also include any setup steps used in your test to help me reproduce the issue locally.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 18, 2017, 11:56pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/8 "2017-01-18T23:56:40Z")

</div>

Hi ,

will do. There are probably others with my name but a long time ago I got annoyed creating a hotmail account and there you go…

Thanks for biting, while a small bug in the scheme of things a users expectations are created on entry to the app so anything that can be done to improve the flow is massive.

I’ve attached a small project that should demo the problem. This has a white splash screen and a small C++ HUD class that just renders a fullscreen white tile.

You’ll see there is a black screen gap in between the splash screen and the HUD being rendered - I’m wondering how to fill that gap.

Hopefully the project works for you!

link text

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 19, 2017, 5:38pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/9 "2017-01-19T17:38:30Z")

</div>

Hi - I got an email with a comment but don’t see it here.

This is iOS specific. The black frames are between the white loading screen and the white in game screen.

Win64 doesn’t have the same problem (though long term I’d like to cover the black screen intro there too).

When I packaged for iOS it asked me to pick a map and I just picked the default map - if you need me to have a look at the uproject and fix this I can do so later today.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 19, 2017, 5:43pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/10 "2017-01-19T17:43:52Z")

</div>

I removed the previous comment when I realized that you were working with iOS. I will continue to test and will respond here with additional info and/or followup questions.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 19, 2017, 5:48pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/11 "2017-01-19T17:48:44Z")

</div>

Thanks for looking into it!

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 26, 2017, 2:35am UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/12 "2017-01-26T02:35:18Z")

</div>

Might be related to the black screen I get when transitioning from portrait to landscape. Again, lowish priority but another of those little things that make an app less polished.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 31, 2017, 12:37pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/13 "2017-03-31T12:37:43Z")

</div>

Hey -

Sorry for the delayed response. After further testing I have not been able to reproduce the issue locally. The sample project provided stays at a black screen on launch when packaged. We will continue to keep our eyes out for this, however I am going to mark this post as resolved for tracking purposes.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [April 5, 2017, 6:31pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/14 "2017-04-05T18:31:04Z")

</div>

Thanks for the response - did you test on 4.14 or 4.15?

Sounds like something went wrong with the test project - it should have transitioned to a white screen.

You should hit a breakpoint in AMyHUD::DrawHUD().

The first DrawItem should be a white tile item. If it isn’t try replacing the function with this:

```
void AMyHUD::DrawHUD()
{
	float fCentreX, fCentreY;
	Canvas->GetCenter(fCentreX, fCentreY);
	fCentreX = FMath::FloorToFloat(fCentreX);
	fCentreY = FMath::FloorToFloat(fCentreY);
	FVector2D min(0.0f, 0.0f), extents(fCentreX*2.0f, fCentreY*2.0f);
	FCanvasTileItem drawMe(min, extents, FLinearColor::White);
	Canvas->DrawItem(drawMe);
}

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 13, 2017, 6:15pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/15 "2017-04-13T18:15:49Z")

</div>

Hey -

I have entered a report for this issue that you can follow here: [Unreal Engine Issues and Bug Tracker (UE-43971)](https://issues.unrealengine.com/issue/UE-43971) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [September 29, 2017, 6:51pm UTC](https://forums.unrealengine.com/t/single-frame-of-blackness-during-ios-startup/346344/16 "2017-09-29T18:51:36Z")

</div>

FWIW - this is still a bug on 4.17.2 and it is also present on Android.

That is all 🙂
