Search Unity

Resolved Bloom makes the scene black in editor and play mode (2021.2.5f)

Discussion in 'High Definition Render Pipeline' started by Kadae, Dec 3, 2021.

  1. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    This problem appears after the update from 2021.2.4f to 2021.2.5f.
    No bugs in console. Library folder cleared and project reimported succesfully, but no effect. No ideas how to fix this.

    Same problem in default HDRP sample scene in my project.

     
    Last edited: Dec 7, 2021
  2. francescoc_unity

    francescoc_unity

    Unity Technologies

    Joined:
    Sep 19, 2018
    Posts:
    193
    Bloom is likely not the root cause, you probably have a NaN or an Inf value and the Bloom is just expanding it

    https://docs.unity3d.com/Packages/c.../manual/Post-Processing-Propagating-NaNs.html

    To confirm the hypothesis you can try and activate the Stop NaN option on the camera settings (or scene camera settings for scene view). If that indeed stops the screen from going black, I suggest tracking down the NaN source.

    If it happens on a completely empty scene/project with nothing custom, feel free to open a bug and we'll look into the source of the NaN
     
    Kadae likes this.
  3. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    Ok, will try to find those NaNs. Thank you for the reply.
     
  4. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    upload_2021-12-6_13-25-40.png

    So, it's interesting. And I don't know how to fix that S***.
     
  5. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    It's simple model with simple two materials without any custom shaders on it.
     
  6. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
  7. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
  8. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
  9. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    Make a button "FIX NANs" for me, thanks.
     
  10. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    All my scenes now with that issue. LMAO
     
  11. Oniros88

    Oniros88

    Joined:
    Nov 15, 2014
    Posts:
    150
    Its clearly not an issue on their end since previous Unity version didn't present this problem in the first place. Happened to me aswell, bloom, reflection probes, refraction and other effects that work perfectly fine and without any performance problem in previous version started making black squares appear in all scenes in latest version. Had to revert back to the former version in which this problem is not present. Stop NaNs did not resolve this and it was not needed in previous version anyway.
     
    MuntyMcFly likes this.