Strange Screen size

Hi All,

I create a game with size 1024 * 768, these settings are in the Project Settings → Player. I also choose this size in the Game view.
But then I calculate my game area and print the size - it prints this:
Screen.width == 826
Screen.height == 620

Why? How can I fix this problem?

My camera has size == 384 which is my game height / 2 (768 / 2).

Thanks!

Make sure you select “Maximize on Play” in the game window before playing your game.

tonyd, thanks, it really helped. But that strange, it seems, I tried that before…