Ironically I had your same problem with the resolution size in Unity lol, when I finished making the game I switched platform to WebGL, and since it has a different resolution size it resized the main camera, so I also had to resize the stage basing on the new camera size