Resolution with GUI on Android

My game doesnt look the same on my android build as it does on the computer. There is a lot of extra space around the sides of my game on the android and the font is smaller. Not really sure why. In the editor everything is scaled perfectly and my gui objects are at the top of the screen. On the android they are smaller and down from the edge enough where its in the way. Has anyone come across this?

It’s because of the pixel inset. LoL
You will have to change the values for every GUI texture.
But it doesn’t work if you don’t use a touch script, i know on android you can use OnMouseDown function too but without pixel inset you have no chance.

Set the Pixel Inset to: X:0 Y:0 W:0 H:0 The position: X:0.5 Y:0.5 Z:0 The Scale: X:1 Y:1 Z:1

For making a GUI Texture for a button and making it to stretch on any resolution: Just set every value from the Pixel Inset to 0

For making the same thing with a GUI Text: Disable the Pixel Correct CheckBox, that will make the text blurry, i know, but don’t worry… It’s blurry because the scale isn’t normal. Just try to scale it until is isn’t so blurry, and import another Font than the Default one, and clicking the imported font, and changing the resolution in the inspector to 500 and, after that you can adjust the size without blurring it whenever you want from the Font Size value ;D

And if you have problems with the 3D gameobjects, you will have to look in the unity documentation for Matrix Projection. Good Luck!

So I Fixed it. Im dumb. I forgot to set the anchors for the gui objects. Not sure why the text doesnt look right, thats still a mystery. So i doubled the text size on all my gui text and it looks much better.