There is all kind of size android phones. I made my game "3:2 Portrait " and it looks good when i export it to my galaxy s2. But what if i publish the game to google play store and someone with a smaller or bigger or a other resolution phone downloads the game, will the game look weird or will it automatically adjust to the size of the screen?
Depends what you game view and ui looks like. You can switch between different ratios in unity game view to test. There is no automatic adjusting so it could look horrible or various devices and lead in to bad reviews.
The fix I used in my work in progress game, Circle Tap, is to use a fraction of the screen size to define positions.
So instead of:
GUI.Box(new Rect(100,100,100,100), "I'm a BOX");
Use this
GUI.Box(new Rect(Screen.width*0.1,Screen.height*0.1,Screen.width*0.1,Screen.height*0.1), "I'm a BOX");// use fractions of screen width for resolution independance
You need to play your game in the editor at all the different aspect ratios. Look at the top left of the game view in the editor, and open the dropdown. Make sure your game runs at 5:4, 3:4, 16:9 etc. When in Android build target, the aspect ratio’s will change.
Usually if your game is 3D it will look fine at most aspects, but the 2D UI will usually give problems.
If you have NGUI or another decent UI make sure to anchor everything correctly, then be sure to test your UI looks good at all different resolutions.
If your game is landscape, obviously you can’t make it look good in portrait, so you need to force it on the device that it only runs in landscape (check under player settings).
But is it only the guitexts and gui that causes trouble?
Anything can cause trouble, it’s impossible to know without seeing your code.
Your best solution is just try different aspect ratios and resolutions in editor, if it is fine in editor, then it probably is fine on a phone.
Well i have tried getting the game on my galaxy s2, and it fits perfectly. But thats because ii have adjusted the game so it fits with it