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.

Question RenderTarget is always black in FrameDebugger (Custom SRP)

Discussion in 'General Graphics' started by equalsequals, Jul 22, 2021.

  1. equalsequals


    Sep 27, 2010
    I am trying to debug why in our custom SRP, our Color RenderTarget seems to only show the Depth output and not the Color, regardless of which is selected in the FrameDebugger. For context, this RenderTarget would be the equivalent of URP's _CameraColorTexture.

    When going further down the frame to the point where we are Blitting to the backbuffer, everything looks correct again:

    Shadow Passes seem to be working correctly as well.

    I'm unsure where to begin debugging this, though I suspect it may be something about how the RenderTarget is created. Generally speaking, there isn't anything special about the erroneous target vs. ones that work correctly.

    Any assistance would be appreciated!