Search Issue Tracker

Fixed

Fixed in 6000.0.18f1, 7000.0.0a1

Votes

1

Found in

6000.0.13f1

7000.0.0a1

Issue ID

UUM-77255

Regression

No

Invalid Depth format when RenderGraph and APV enabled with URP

-

How to reproduce:
1. Open the attached project "URP_Empty_U6_12f1.zip"
2. Dock the Game view window next to the Scene view window
3. Press CTRL+S

Expected results: No errors are thrown
Actual results: "InvalidOperationException: Trying to SetRenderAttachmentDepth on a texture that has a color format R32_SFloat. Use a texture with a depth format instead. (pass 'DrawDepthNormalPrepass' resource '_CameraDepthTexture')." is thrown

Reproducible with: 6000.0.13f1
Could not test with: 2021.3.41f1, 2022.3.40f1 (no Light Probe System)

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

Comments (3)

  1. unity_uNV1qDJIis9xNQ

    Feb 04, 2025 16:32

    I Fixed it by Going to porject settings / Graphics / Render Graph / Compatibility Mode (Enabled)

  2. onuralpyilkin

    Jan 23, 2025 13:36

    I am still having this issue on 6000.0.34. APV and RenderGraph enabled. But it only happens when i press CTRL key on keyboard. It doesn't matter if i pressed on Editor or any other application is in the focus.

  3. afshin_a_1

    Dec 21, 2024 02:40

    i also have this issue using latest Unity version 6000.0.32
    APV enabled with URP

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.