Search Unity

Bug HDRP HDR monitor output all black in a build, but OK in editor

Discussion in 'High Definition Render Pipeline' started by koochy_rat, Apr 23, 2023.

  1. koochy_rat

    koochy_rat

    Joined:
    Oct 26, 2011
    Posts:
    40
    I'm trying out HDR display output and I can't get a build working. It always ends up with a completely black screen. Only UI elements on a screen space overlay canvas are visible.

    I've already set the 'Use display in HDR mode' and also set tonemapping to ACES 1000 nits. In the editor in DX12 mode, play mode works fine and rendering debugger confirms HDR output. In a build however it is all black. It doesn't matter DX11/12 or whatever tonemapping or HDRP setting I change, it is always black. On turning up monitor brightness, there are some very faint dark details visible as if everything is tonemapped to minimum black.

    Is there any other setting required? I am on Windows 11, Unity 2022.2.16. HDR is working fine on other games and Youtube.

    Below shows the in-editor and actual build screens:
    hdroutput.png hdroutput1.png
     
  2. KangManJyn

    KangManJyn

    Joined:
    Sep 29, 2022
    Posts:
    7
    I have the same problem in my project.
    Unity 2021.3.19f1, Direct11, window10 game.
    A black screen appears intermittently on some PCs.
    It could be a shader NaN issue.
    Enable 'Stop NaNs' in camera component options.
    My project is still reporting the same symptoms.
    I am looking for a solution to the problem.
     
  3. koochy_rat

    koochy_rat

    Joined:
    Oct 26, 2011
    Posts:
    40
    Are you using HDR monitor output? It's probably an unrelated problem since HDR output is only supported in 2022.1.
    HDR Output
     
  4. KangManJyn

    KangManJyn

    Joined:
    Sep 29, 2022
    Posts:
    7
    I do not use HDR Monitor.
    However, the HDRP option and the DLSS option were applied.