Screen resolution 1024x768 = 985x739?

Hello everyone, i have my game set to Standalone (1024x768) resolution and maximize on play option enabled. The problem is i have a script that debugs the width and height of the screen and i get 985x739, i don’t understand why that happens. Does anyone know why?

My guess is your Game tab isn’t big enough to show the whole viewport when it’s running at 1024x768, so Unity scales the viewport down to fit so you can see everything at once.

To fix this, resize the pane containing the Game group.

You can alternatively click + drag your Game tab so it’s “floating” over your window, rather than being docked with other tabs. This way, you can resize the Game tab’s floating window to a larger size without compromising the size of other tabs.