Support for Super Wide Screen in Unity 5.x

Hello,

We’re currently using Unity 5.6.3p4 for our project and we’re having an issue where the game doesn’t show full screen on the Google Pixel 2, it shows a black bar at the bottom.

After trying a few things, we’ve found that the only way we could find to fix the issue was to update to the latest version of Unity (2017.2). Looking at its release notes:

Android: Android now renders fullscreen on super widescreen devices.

I was wondering if there is any workaround I can try for this, or if Unity plans to release a patch to fix this on Unity 5.x versions. Otherwise our only solution is to upgrade to 2017.2, which we’ll do at some point regardless, just it’s a bit risky at this time for us.

Repro steps:
-Create a new Android project with Unity 5.6.4p3.
-Change the default package ID so Unity doesn’t complain when building.
-Deploy to the Pixel 2.

This is the output:

Thanks!

You have two options for workarounds. They are described here: Screen compatibility overview  |  Android Developers
The first one is to use target API level 26 or higher. If you’ll use this however, the icon of your app will probably be made smaller and enclosed into a circle or a square. This is done by Android itself. You can read more about this issue here: Android Oreo Icon is incorrect on Unity 5.5.0p4 - Unity Engine - Unity Discussions
The second workaround is to add

to the manifest. This should not have any side effects and I would recommend to try it first.

1 Like

We tried the manifest workaround and worked flawlessly, many thanks!! :slight_smile:

BRAVIZZIMMO! It Works!