- Home /
Unity 4.3 Android, Entire Screen Not Displayed on Device
I am developing a simple 2D game in Unity 4.3 just like the classic Space Shooter.
When I did a development build and deployed the apk file to my Nexus 4 phone, I don't see the entire screen in my phone. All of my sprites don't show up in the screen, some of them are cut off. In the unity Game Play they just show up fine.
I tried several options and solutions but they did not help me much. One of the solutions that came close to solving my problem is: but still it did not solve my real problem as I need to give the aspect ration manually in this script. I am not very sure how to detect the phone's aspect ratio and tweak the script accordingly so that it can adjust for all the phones.
So, my real intention is to tweak the above script or have a simpler solution that can help me target a game to all the android devices(phones and tablets). Also I am not very much worried about the resolution. I just want my game to be visible in all the android devices the way I see it in the Game screen when I test my game in Unity.
An help would be greatly appreciated. Thanks in advance