Multi-display problem when using two different aspect ratios (16:9 and 21:9)

I’m developing an interactive marquee for an arcade game using an ultrawide monitor. I’ve done my best to set up the game to use multiple displays but I can’t get the resolution of the ultrawide monitor to display in 21:9 while my main game is running in 16:9. Help?

I’ve got this code attached to my game’s main camera:

public class DisplayActivator : MonoBehaviour
{
    private void Start()
    {
        if (Display.displays.Length > 1)
        {
            Display.displays[1].Activate(2560, 1080, 60);
        }
    }
}

The problem is that the ultrawide monitor keeps a 16:9 ratio and is aligned to the left:

Bumping this. (Under a bit of a time crunch.)

Facing the same problem. I hope someone will address this.

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.

1 Like