Search Issue Tracker

Active

Under Consideration for 2021.3.X

Fixed in 2023.3.0a11

Votes

1

Found in

2021.3.27f1

2023.3.0a9

Issue ID

UUM-41296

Regression

Yes

"CommandBuffer.ClearRenderTarget" doesn't work when "Native RenderPass" is enabled

--

-

How to reproduce:
1. Open the attached project “RenderPassBug.zip“
2. Open the “SampleScene“ Scene
3. Select the “URP-HighFidelity-Renderer“ asset
4. Enable “Native RenderPass“ in the Inspector

Expected result: The Game view is red
Actual result: The Game view isn’t red

Reproducible with: 2021.3.27f1
Can’t test with: 2022.3.3f1, 2023.1.1f1, 2023.2.0a21 (Provided code is for URP 12.1.12)

Reproduced on: Windows 10
Not reproducible on: macOS 13.4 (Intel)

Notes:
- Also reproducible in Player
- Selecting the Scene view and then selecting the Game view makes the Game view red when “Native RenderPass” is enabled

  1. Resolution Note (fix version 2023.3.0a11):

    The issue is fixed by drawing a full screen quad when the clear command is used inside a render pass.

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.