everything stretched on iPhone 5

When i run my 2d game in the unity player, it does everything that i want it to in terms of dealing with different screen sizes - i switch between iPhone 4 size and iPhone 5 size, and on iPhone 5 you can just see a bit more of the game world (which is correct)

However, when i build the Xcode project and run it on an actual iPhone 5, it seems that it’s running it at the iPhone 4 resolution, and stretching that to fill the screen. So all the sprites appear much longer and thinner than they should.

I’m really stuck on why this is happening - i can’t find anything in the player settings that might be causing it. Any ideas?

i was being blind, the setting just wasn’t where i expected it. in player settings → iOS, it’s not under resolution, but further down: other settings → configuration → Target Resolution, should be set to native

If you’re using GUITextures in your game this script should help you

Mobile GUI Scaler