Unreal Engine does not render at 1920x1080 exactly, whats up?

For whatever reason, Unreal Engine is refusing to follow my exact screen resolution configuration. It is always slightly off from what is specified in Game User Settings. I am just trying to either make a windowed game where the resolution is exactly 1920x1080 or a fullscreen game with 1920x1080 and right now its reporting 1920x1082 in windowed and 1914x1040 in fullscreen(fullscreen isnt even launching in fullscreen but only takes up part of my monitor which has a native resolution of 2560x1440. I also just tried setting it to 2560x1440 just now and its just ignored and does something near 1920x1080.

I have a Blueprint that is initializing these settings at startup.

Event BeginPlay → Get Game User Settings
→ Set Dynamic Resolution False
→ Set Screen Resolution (1920x1080 or 2560x1440 depending on what I am testing)
→ Set Fullscreen mode (Fullscreen or windowed)
→ Apply Non Resolution Settings
→ Apply Resolution Settings

I have tried tweaking an changing a bunch of these, deleting the GameUserSettings.ini file and it just wont behave, what am I doing wrong here?

Thank you!

Ok I managed to at least isolate the problem down a bit, this seems to only be happening when I click the Enable “Check for Command Line Overrides” when calling Apply Resolution Settings. I don’t know whats inside there but its breaking everything, need to figure out how to find out whats being set or added in command line overrides.(I have no idea how to find this yet).

Ok the 1914x1040 seems to be coming from Editor Preferences → Play → Game Viewport Settings → New Viewport Resolution, I changed it to 1920x1080 but after running the game in a new window it just gets reset back to 1914x1040 :confused: so this is the issue for New Editor Window, but I still have this issue with stand alone game fullscreen… going to keep looking…

Restarting the editor after setting New Viewport Resolution to 1920x1080 from 1914x1040 and not doing any runtime resolution adjustments launches the New Editor Window(PIE) at 1920x1082(I do not understand why this is off by 2 pixels, this is a big problem for me, like project breaking I have to change engines problem). I will see if I can at least tame the Stand alone game mode window.

Deleted the entire Unreal Engine folder under App Data, no luck. Going to read through every line of my config files now…

There is nothing in my Config → Ini files that I can see that would be inserted into the Command Line Overrides…

Does anyone know how to debug or check what is being set here?

I think there is a bug related ro fullscreen and/or setting up resolutions, in general:

I hope it gets fixed soon…

I have noticed at least for me something inside the command line arg overrides seems to be causing the problem when applying resolution settings.

Given that I am testing this without setting any command line arg overrides and even after a fresh restart of UE5 the issue persists I am under the assumption that some command line argument that’s a default is causing fullscreen to break when applying resolution settings.

I don’t know which one it is as there are a ton of command line argument overrides so I’m just going to have to start trying to override a bunch of them and hope I get lucky until fullscreen starts working with it ticked. I would have hoped that “Check of command line overrides” would be no op if no command line args have been enter by myself but that doesn’t seem to be the case, it does have an effect and it does break fullscreen just by default.