Debugging Loading Screen

In this article we will debug our Loading Screen that broke when we build our game.

Loading Screen

On our Loading screen we aligned the loading bar with the background image. When the game was build the bar was not aligned anymore.
This is often cased by having a different build resolution under the build settings. The aspect ratio is key here. We forgot to set the Game panel aspect ratio.

  1. Game panel aspect ratio 16:9

2. Build Settings resolution: 1152x648 (a 16:9 aspect ratio)
Edit > Project Settings > Player

3. Align the loading bar again with the background

4. Build



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tristan Engel

Tristan Engel

Aspiring developer that’s self-learning Unity & C# to transition to a career with Unity. I got a passion for creating interactive experiences.