Mobile screen position

Does anyone know why the game is getting the screen like that on mobile? how do fix it?

1 Like

Phone screen resolution on portrait is very different compared to tablet and PC in that it’s longer than it is wide.
Tends to be an easy fix, just add a UIAspectRatioConstraint and make sure your scale allows for it to adjust correctly.

where should i add a UIAspectRatioConstraint?

1 Like

I there’s a frame which holds the Side UI, add it there and play around with it until it’s the correct size.

the problem was on the player’s cell phone.