Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

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!