I've made a new 2D Unity Project in v2020.3.25f1 and set Fullscreen Mode to "Maximized Window".
When I build the app the whole screen is filled:
But when I exit full screen, reopen the app and switch back to full screen I get this:
Is this a bug? Is it caused by MacOS? It's driving me insane. ;(
Unity saves the last resolution you left the application at. If you left it at 800x600, next time you launch it it will be 800x600.
When you exit fullscreen, it makes the app another aspect ratio. When you re-launch it, it re-launches at the weird aspect ratio.
Solution Idea 1
You could enable resizable window, that will most likely be a quick solution.
Solution Idea 2
You could also force the game to be a certain resolution when the game starts.
Screen.SetResolution(WIDTH, HEIGHT, IS_FULLSCREEN);
So in your case, it would be (assuming your screen is 1080p)
Screen.SetResolution(1920, 1080, true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With