Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

(Case 1135210) Vulkan/D3D12: Stretched image in fullscreen

Discussion in '2019.1 Beta' started by Peter77, Mar 9, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    I'm not sure if it's beta related, as I didn't try to reproduce it with an older version of Unity. Please feel free to move the thread if it's not.

    While testing different graphics api's (here), I noticed that D3D12 and Vulkan stretch the image if the screen aspect ration doesn't match the monitor aspect ratio. D3D11 and GLCore display black borders at the sides, which is missing with D3D12/Vulkan.


    Reproduce
    1. Open user attached project
    2. Build a Windows 64bit player
    3. Start the player several times, each time using one of the following command-line options: -force-d3d11 -force-d3d12 -force-vulkan -force-glcore
    4. In the resolution dialog, select 640x480 (or any aspect ratio that does not match your native monitor resolution) and full-screen.
    5. Press Play

    Actual
    • D3D12 stretches the image.
    • Vulkan stretches the image.

    Expected
    No stretched image, just like in D3D11.
     
    LeonhardP likes this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618