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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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.