Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[4.9.2] Non-default MobileContentScaleFactor on iPhone 5 Creates Black Screen

If I set r.MobileContentScaleFactor to anything outside [0, 0.5, 1, 1.5, 2] it will produce a black screen but UI and sound still works. This only happens on iPhone 5 and maybe 5s (I don't have 5s). But any odd numbers such as 1.69, 1.44, 1.85 works on iPad 2 and iPhone 6 and 6 plus.

  • know that having odd numbers sacrifices performance but I need it to be exact 960x640 for pixel perfection.

Product Version: UE 4.9
more ▼

asked Oct 06 '15 at 12:42 PM in Bug Reports

avatar image

136 12 21 30

avatar image Samantha Sutton ♦♦ STAFF Oct 06 '15 at 08:59 PM

Hey SmileyJeff,

I have set up a project with r.MobileContentScaleFactor included in the DefaultDevicesProfiles.ini. The project took a few seconds to load up and it initially looked like it would be a black screen but it did load. Could you please provide me a sample project to work from to ensure I have set up my project the way that you are?

Looking forward to hearing back from you, thanks!

avatar image SmileyJeff Oct 07 '15 at 02:02 AM

Hi, if you change the iPhone 5 r.MobileContentScaleFactor to 1.6 or 1.7 and run it, iPhone 5 (OS 8.4.1) will blackscreen.

Not sure if this is different from changing the .ini but I changed mine through Window > Developer Tools > Device Profiles alt text

avatar image Samantha Sutton ♦♦ STAFF Oct 07 '15 at 05:48 PM

Hey SmileyJeff,

I've ran this on the devices that I have available, based on the OS that it's suppose to be on for our testing purposes.

  • iPhone 5s 8.4.1 - OK

  • iPhone 5 8.1 - OK

  • iPhone 5c 8.1 - OK

  • iPhone 4 7.1 - OK

How long do you let the blackscreen sit there and load?

avatar image SmileyJeff Oct 08 '15 at 12:29 PM

Thanks for looking into the issue. I am starting to wonder if this issue is only related to my project. I gave another try and left the phone for 30 minutes but still got stuck at blackscreen. Game is running because sounds and UI are working as I can press on buttons. Once I changed r.MobileContentScaleFactor to 1.5 or 2.0 the visuals will load within 1-2 seconds and everything will work correctly.

More Info:

  • Mobile HDR OFF [Project Settings > Rendering]

  • Camera is orthographic, width is 960, constrain aspect ratio ON and set to 1.777778

EDIT: Tried looking for crashlog or any log on my iPhone 5 but nothing appeared.

avatar image Samantha Sutton ♦♦ STAFF Oct 08 '15 at 05:00 PM

I tested out again on the iPhone 5s. I used the Third Person template. The project loaded without any delay or trouble. It may be something within your project that is causing the blackscreen to appear, as you previously stated.

avatar image SmileyJeff Oct 09 '15 at 12:14 AM

I manage to get my hands on iPhone 5s and it worked fine with values other than 0.0, 0.5, 1.0, 1.5, 2.0. However the blackscreen issue still persist on iPhone 5. I will try to find the cause of this and post back here if I get any results.

avatar image SmileyJeff Oct 09 '15 at 01:00 AM

Reproduced the issue on a sample project. Zip file includes:
- .ipa
- project file
Download Link: https://drive.google.com/file/d/0BxA-6ZVRJ-z1cWtuejFVSndVV1k/view?usp=sharing

What I used and changed:
1. I used sidescroller project as base
2. I set the default platform to mobile while creating the project
3. I set the camera ortho width to 960 and lock aspect ratio
4. I turned off mobile HDR under Project Settings > Rendering
5. Changed r.MobileContentScaleFactor for iPhone 5 to 1.69 under Windows > Developer Tools > Device Profile

Test this on iPhone 5 and it should get a black screen.

avatar image Samantha Sutton ♦♦ STAFF Oct 13 '15 at 05:50 PM

I have pushed your project to both an iPhone 5s and an iPhone 5. Both phones displayed the project correctly. I'm beginning to think that it has to do with the operating system that's on your iPhone 5.

Tested Devices:

  • iPhone 5s - 9.0.2

  • iPhone 5 - 7.1.2

  • iPhone 5 - 8.1

avatar image SmileyJeff Oct 15 '15 at 09:44 AM

Thanks for looking into this and testing it on various devices. Not sure what is going with my iPhone 5. I am going to push the app with 1.69 and see if other people experience this issue.

avatar image Samantha Sutton ♦♦ STAFF Oct 15 '15 at 02:32 PM

Let me know what you find out. If possible, please include the types of devices including their OS version as well.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey SmileyJeff,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered Oct 19 '15 at 05:44 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question