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

DX12 Build, Couldn't switch to requested monitor resolution

Discussion in '2021.1 Beta' started by selimsandal, Jan 17, 2021.

  1. selimsandal

    selimsandal

    Joined:
    Jun 16, 2014
    Posts:
    7
    This error pops up when I try to open the DX12 build of my project (64bit, IL2CPP) and unity player shows a black screen in full screen.

    When I disable windows fullscreen optimizations in player.exe works without any errors.

    DX11 build works without any problems no need to disable fullscreen optimizations.
    upload_2021-1-17_15-47-52.png
     
  2. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    445
  3. selimsandal

    selimsandal

    Joined:
    Jun 16, 2014
    Posts:
    7
    Lex4art likes this.
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Can you post the player log?
     
  5. selimsandal

    selimsandal

    Joined:
    Jun 16, 2014
    Posts:
    7
    Uninstalled the beta but you can reproduce the issue:
    1) Open the default HDRP scene
    NOTE: Switch player default window to exclusive fullscreen
    2) Switch to net 4 scripting backend
    3) Add and switch to DX12
    4) Build (64 bit, IL2CPP) or you can try UWP build too
    5) You'll get the same error

    Let me know if you can't reproduce, I'll install it again and try to help