Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

DX12 FullScreenWindow scaling issue

Discussion in 'Graphics Experimental Previews' started by Hyp-X, Apr 27, 2020.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    292
    Hi,

    Posting here because DX12 is still an experimental feature.

    Is it a known issue that DX12 FullScreenWindow has incorrect scaling when the resolution has different aspect ratio than the screen?
    Quick search haven't turned up anything in the forums or in the issue tracker.

    2019.3.10f1, Windows Standalone player
    Tested on nVidia and AMD so doesn't look like a driver issue.

    I would submit a simple testcase but you removed the resolution selection dialog so now it's a PITA
     
  2. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    292
    Looks like in 2020.1.0 this bug was replaced with a different one.
    Now the scaling works, but the screen is very dark when not running in native resolution (looks like a gamma correction issue)
     
    m0nsky and Lionious like this.
  3. m0nsky

    m0nsky

    Joined:
    Dec 9, 2015
    Posts:
    50
    I've also ran into this issue for the past few months. Using anything but the default screen resolution makes the game (standalone DX12 player) turn a lot darker than it's supposed to be.

    You can't fix it by resetting the resolution. You actually have to rename your project for it to get back to normal.
     
  4. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    292
    This sounds like something saved in the registry (where Unity uses the project name as a key).
    I'll test clearing the registry...
    I kinda hope it doesn't fix it, if it does there goes my chance to send an easily reproducible bug report.
     
unityunity