I'm trying to make my game resolution independent. I'm using Unity's 4.6 UI, and I've got custom resolutions defined at 1280 x 720, 1600 x 900, and 1920 x 1080. In-editor, if I swap between any of these resolutions, the observed scene doesn't change. It looks like this: enter image description here

I then build an executable (set to only allow 16x9 resolutions), and run this scene. On 1280 x 720 (as selected from the resolution dialog), I get this: enter image description here

While on 1920 x 1080 (as selected from the resolution dialog), I get this: enter image description here

Which matches the editor view. (Ignore the character sprites; those are in worldspace on a separate camera and aren't relevant to this question).

What is it about the executable that causes lower resolutions to be "zoomed in" like this, even if that lower resolution is the Reference Resolution for the Canvas Scaler?

share|improve this question
up vote 1 down vote accepted

This appears to be a bug specific to the version of Unity I was using (5.3.1f1.).

After updating, the scaling began working as expected.

share|improve this answer
    
Don't forget to accept your answer so others with a similar problem can see in the search results that a solution was found. – DMGregory Apr 22 '16 at 11:42
    
@DMGregory No worries! Just an issue of not being under the 2 day limit when I originally posted. – Raven Dreamer Apr 22 '16 at 20:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.