Debugging Loading Screen
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.
- 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