All UI elements break when setting resolution through script. [please help]
I have tried multiple graphics apis, reproducing over and over and still getting the same results. But whenever I change resolution in script while ExclusiveFullscreen is activated, all UI elements' hitboxes scale and move somewhere else while the graphics look just fine.
left: before changing resolution[1920x1080] right after changing resolution [1600x900] so what it looks like is the ui raycasting space has not steched with the window... but its inconsistent, sometimes that space goes wherever, sometimes off screen at a whim.
I would just use fullscreen window, but it makes my computer run the same empty scene at 30fps instead of 400fps and even lower on a scene full of objects. I have scoured the internet and have found no one with my specific problem.
Theres no way I can be the only one with this problem.