Multi display with different screen resolution and ratio

TL;DR: second monitor always render using primary monitor aspect ratio, regardless of how it is set…
NB: I’m using Unity 2019.2 with LWRP

Hi, I’m trying to make an application where UI would be display on a touch screen, and 3D view on a projector. The screen is 1080p so a 16/9 ratio and the projector is 1024x768 = 4/3. I have some init code activating the second display (the projector) with its native resolution. When running from the editor, everything looks fine, but when running from a standalone build, it seems that the second monitor uses the primary monitor native ratio, whatever I’ve set the second monitor to be… And then my rendering is stretched and ugly… This occurs even if I set the primary monitor to use a 4/3 ratio (with the display dialog), either fullscreen or windowed (most likely because “fullscreen” is not really switching to fullscreen but uses a borderless window with black stripes on the side).

I’ve seen similar posts on the same issue but it is 3 years old so I hoped the issue would be fixed by now.
What am I missing here?
Thanks
– Olivier

This issue has been reported here and according to it is resolved/fixed in Unity 2020.1.0a.
Also the release notes of Unity 2019.2.9 state that this ticket is resolved.

I am facing something similar.

So this bug is finally fixed in Unity 2020.1.0.a3. Just verified.

Monitor 1 : 1080x1920 Portrait
Monitor 2 : 1600x900 Landscape

Working perfectly with native resolution on both displays.

Thanks for the update :slight_smile: