When attempting to set the configuration for mobile devices within the Engine/Config/DefaultDeviceProfiles.ini, any value that is non-uniform like 1.2 or 1.6 will render a black screen after deploying to the mobile device.
The Documentation suggests the "r.MobileContentScaleFactor property is relative to the 'nominal iOS resolution' for a device. For example, a Retina iPad has actual resolution 2048x1536, but nominal resolution 1024x768, so you would use 2.0 to get native resolution there."
A list of acceptable values for the devices or values that are not acceptable in the Documentation would help with the scaling of the content.
I was able to reproduce this within the binary version of the engine using an iPad4 8.0.1 iOS
1. Create Blank Third Person Template BP Project with Mobile/Tablet platform and 2D/3D Scalable Quality.
2. After the project opens, save and close the project.
3. Go into the directory for the Engine. Location/Engine/Config.... and locate the DefaultDeviceProfiles.ini and open the file.
4. Find the device you are deploying to and place the configuration line underneath.
5. "+CVars=r.MobileContentScaleFactor=1.2"
6. Save and Close the Config file.
7. Re-open the Project and Launch on the Device.
8. Launch the Project from the Device and observe the black screen.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.7.1 |
Target Fix | 4.8 |
Created | Mar 3, 2015 |
---|---|
Resolved | Apr 30, 2015 |
Updated | Sep 16, 2019 |