[UE4.8] Android with OBB black screen on Potrait

Hello,
I encounter a problem where Android Development APK with all data in APK works with my device all the time…

After the application packaging using Distribution and split into OBB, the app able to run for the first time with OBB checker… Everything working fine at this time…
However the app stay BLACK screen and unresponsive on the second run onwards…
Sometimes it may run, but most of the times (90%) the app stay black screen…

I’ve check the start map which point to the correct level…
I’m quite sure that the problem occur on the UE Android Downloader Activity because this activity doesn’t return in LOGCAT.

Anyone has a fix for this?? My app is around 300MB.

[Update]

It appear that I’ve found a BUG on device orientation.
If the Android Settings is on “Landscape”, but the moment I click my app icon while my phone on “Portrait”, the app will black screen…
If I click my app icon while holding my phone on “Landscape”, the app will launch and run.

I’ve upload the log files.
Spot anything that can be change ?
It failed while I hold my phone on Portrait.
It launch successfully while I hold phone on Landscape .

link text

link text

Anyone facing this problem??
An empty project also having this problem.
I’m using 4.8.2

Hey shinichi88,

Go into your ‘Project Settings’ and in the ‘Platforms’ section. Click on the ‘Android’ platform and find the option that says orientation. Click this dropdown to menu to expand your options for setting the orientation of your project. If you would like it to be compatible with landscape and portrait orientations, you can select the ‘Sensor’ option.

Android - Orientation

Let me know if this resolved your issue, or if you need further assistance.

Thanks,

i have been facing the same issue here. ( from 4.8.0 to 4.8.2 )
is there any update to fix it?

Hi ,

The orientation settings already set to “Landscape/Sensor Landscape”.

But it doesn’t fix the problem.

Set it to ‘Sensor’ or ‘Full Sensor’

Tested and it doesn’t seem to be fully working.
I’m using Nexus 5. I’ve made several test on the orientation, have a look below:

Orientation Setting : Sensor
Phone Orientation Setting : Portrait
--------------------------------
1. Start app while phone holding in Portrait : Success
>>>Rotate the phone to Landscape while in game : Freeze
2. Start app while phone holding in Landscape : Failed

Orientation Setting : Sensor
Phone Orientation Setting : Auto Rotate
--------------------------------
 1. Start app while phone holding in Portrait : Success
>>>Rotate the phone to Landscape while in game : Freeze
 2. Start app while phone holding in Landscape : Success
>>>Rotate the phone to Portrait while in game : Freeze


The goal I'm trying to reach is to run the app only in Landscape mode..
However, as mention earlier:
Orientation Setting : Landscape/Sensor Landscape
Phone Orientation Setting : Portrait
--------------------------------
 1. Start app while phone holding in Portrait : Failed
 2. Start app while phone holding in Landscape : Failed

Orientation Setting : Landscape/Sensor Landscape
Phone Orientation Setting : Auto-Rotate
--------------------------------
 1. Start app while phone holding in Portrait : Failed
 2. Start app while phone holding in Landscape : Success

I have the perfectly same issue on Sony Experia Z2.

With the latest 4.8.3

Orientation Setting : Sensor Landscape
Phone Orientation Setting : Portrait
--------------------------------
 1. Start app while phone holding in Portrait : Failed (Success for 1st time only due to OBB checker)
 2. Start app while phone holding in Landscape : Failed (Success for 1st time only due to OBB checker)

Orientation Setting : Sensor Landscape
Phone Orientation Setting : Auto Rotate
--------------------------------
Things got a little tricky here.
 >While phone in Landscape : Success
 >>> Close app while still in Landscape
 >>> Set Phone Orientation Setting to Portrait while phone in Landscape
 >>> Start app with landscape phone : Success
 >>> Repeat "Close And Open app while phone in Landscape" : Success
 >>> Once start app while holding phone upright/portrait : Failed
 >>> Rotate phone to Landscape and start app : Failed

Hey shinichi88,

I am currently attempting to test this issue on my end, but would like a few screenshots and steps you are taking when deploying to your device. If you could provide me with your ‘Platform - Android’ settings within your projects settings, and your ‘Packaging’ settings, that will help me run a similar test.

Thank you,

Hello ,

Sorry for the late reply… I only able to make the video and screenshot during working days. Saturday & Sunday is off and I’m at GMT+8 region.

Hope you find this useful:

Thanks.

I have the exact same problem as you on android 5.1.1.
With android kitkat the problem is gone.
Did you find a solution to your problem?

All we are waiting for the answer from . :slight_smile:
I believe that he will be back soon.

ok, I sure hope so. My game is useless the way it is now. I tried setting it to full sensor now. Then it will launch in portrait(looking very weird), but freezes when I rotate to landscape. Similarly if I launch it in landscape it works. It also works fine rotating between landscape(turning phone 180 degrees), but if I rotate to portrait it freezes

Looks like it might have to do with transitioning projects to 4.8: link

Nope… doesn’t seem to be transitioning project issue…
I’ve try with fresh newly created project from 4.8.3 and having similar problem.

hm, that’s odd. With me it works with a blank project

Might be because your project size is too small to create OBB??

wow. good to know that. thank you for the information, pesk92!