Hi, I’m developing a 2D Mobile Game on Unity, and I noticed that when I loaded up my game on an android device, the camera size changed, and stuff was cut off on the sides of the screen. Is there a way to fix this? I dont do much with the camera on Unity so I dont know all too much about it, but if someone knows how to fix it I would appreciate the help.
Thanks
I found the same problem, and I still am looking for an answer. The only thing I found was a very messed up way of taking part of your background or fixed objects and transform them into canvas parts, then set this canvas to scale with the screen size…
Hello! this is a common problem on mobile… this is due because the resolution you’re working on is not the same as the one on your phone and not all phones have the same screen size or aspect ratio…
i’ve never tried to overcome this, so if you just want to test your game on your phone for now, then match the play screen size with your phone’s screen size, if not, then you have to adapt your game with a script to focus on certain points…
you can google some more information searching “unity mobile screen scaling” or stuff like that.
Hope this helps!