Aspect Ratio Problem Outside Unity

Hi guys, just finished the Block Breaker section of the 2D course but when I uploaded the game on itch.io the game window looked like this:


Why are these borders exists even though in Unity everything is just fine. A little help would be appreciated. Thanks
Link to the Game: Neon Breakout - Block Breaker by AL

Hi Taqi,

Since we developed this game for a specific aspect ratio (3:4), try to use the same resolution in the Player Settings as in the game window in Unity. If you use the fullscreen mode, the game container becomes larger, and you will see the background of the camera. Just select a different resolution or aspect ratio in the game window to see what I mean.

I hope this helped. :slight_smile:


See also:

Privacy & Terms