Debugging Loading Screen

Tristan Engel
Oct 18, 2021

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

--

--

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.