The UI is not scaling properly when I build the game, but in the editor it works fine.

In the editor, my screen works perfectly fine, but when I build the game for Windows (standalone) it doesn’t work. Am I doing something wrong or is this a Unity bug? The first screenshot is of the inspector and the second one is the screenshot of the already built game.


I fixed it! It was just that when anchoring the different screens, I needed to use the Rect Tool’s expand function by holding ALT and selecting it.