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 .
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.
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
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
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.
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