Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Camera doesnt work in build. Error While Building Render Graph. Works fine in editor.

Discussion in 'High Definition Render Pipeline' started by aaronmichaelfrost, Aug 15, 2021.

  1. aaronmichaelfrost

    aaronmichaelfrost

    Joined:
    Feb 4, 2021
    Posts:
    39
    Hi all,

    using 2020.3.15 f2.

    When I build the log shows

    Error while building Render Graph.
    ArgumentNullException: Value cannot be null.
    Parameter name: shader

    And the camera doesn't render anything (just black).

    The only scene in the build is a completely empty and new scene.

    I really need to fix this. Been working on my game for a year now.

    Thanks,

    Aaron
     
  2. aaronmichaelfrost

    aaronmichaelfrost

    Joined:
    Feb 4, 2021
    Posts:
    39
    Fixed by replacing HDRP Asset in Project Settings -> Graphics with a new one. Create -> Rendering -> hdrp asset