In my scene I am trying to center an object and make it’s size the height and width of the screen. However when I deploy to a Nexus 5 device that has a resolution of 1920 x 1080 the height and width that is being returned with Screen.height and Screen.width is 1776 x 1080. I’ve also encountered something similar on Samsung Galaxy S4 and S5 devices. (I don’t have the height values that those devices are returning, but if need be I could get them.) It does display correctly on a Nexus 7 device though, so this doesn’t appear to be consistent across all devices.
I’m using Unity 4.5.4 and the Nexus 5 is using Android 4.4.2.
Does anyone know of a reason as to why this could be happening?