macOS windowed app going to fullscreen letterboxing issue

Hey, I’ve encountered a behaviour that I was not really expecting while developing a desktop app in Unity 2022.3.4f1. The thing is: my macOS app is running in Windowed mode, but with Allow Fullscreen Switch mode on. But when I start my app with a really small window (pic 1) and hit the green “enter full screen” button on the macos window itself, the app turns to fullscreen, but instead of stretching to whole width/height, it just stretches to fit the space, while being left in the aspect ratio of the small window. The same thing can be reproduced when I use Maximized Window setting (though the other way round: you start the app, exit fullscreen, make the window smaller and exit the app. On next app open it will open in this small window and then going fullscreen will make it letterbox and stretch).


Can’t find any topics about this, but seems pretty unintuitive for me, so maybe I’m missing something?

Thanks!

I couldn’t reproduce using the newest version (Unity 6000)
I think 2022.3 branch is up to 52f1 or so, could you try updating and trying again? Because 4f1 seems a little old : )

Hey @Evaldas_Unity appreciate your help! :slight_smile:

Turns out that I could still reproduce the issue on 2022.3.30f but it appears to be fixed in 6000.0.27f :tada:

Time to upgrade the project then :slight_smile:, thanks again!

1 Like