Viewport not conforming to what is actually displayed

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Socrates

The blue viewport outline in the editor is larger than what is actually displayed when I run the game. I can work around it to a certain extent by creating cameras and adjusting the zoom, but would rather know the proper way to set this up. This only occurs when I run it fullscreen. When I run it using a 960 x 540 test width and test height, it displays correctly (the normal width and height is 1920 x 1080).

Here are images of the problem. The top one is how the image appears in a 960x540 test window. The bottom one is how it appears in 1920 x 1080 fullscreen (the intended size). I’m gonna try to replicate this in a test project to see if it’s a bug or if I’m just doing something wrong. I’m pretty sure I’ve tried every possible combination of the Mode and Aspect stretch settings. Imgur: The magic of the Internet

Socrates | 2018-03-27 20:01