When I build and run my game, the resolution is different than in editor.
Note: My monitor's display settings are 2560 x 1440.
My editor's game display is set to Full HD (1920 x 1080).
I have UI positioned just outside of my canvas so that it does not display until needed:
This looks fine in the editor and the UI is not visible.
When I build my game using the settings:
Edit > Project Settings > Player > Fullscreen Mode > Exclusive Fullscreen
This is what I see:
Changing Fullscreen Mode to Windowed and specifying 1920 x 1080, makes it display correctly.
But then if I maximize the window using the above settings it displays incorrectly again:
Additionally, here is my canvas:
I'd like my game to always look the same, displaying in 1920 x 1080 resolution. So, even if the window is maximized, it will just stretch the image, rather than show more of the game, revealing the UI.
Is any one able to provide me with the correct settings I should be using? Thanks so much!