Search Issue Tracker
Fixed in 2022.3.24f1
Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0a19
Votes
1
Found in
2022.3.6f1
2023.1.6f1
2023.2.0b3
2023.3.0a3
Issue ID
UUM-44446
Regression
Yes
DepthTarget disappears when calling SwapColorBuffer
How to reproduce:
1. Open the attached “SwapColorBufferBug.zip“ project
2. Open the “SampleScene“ Scene
3. Observe the Game view
Expected result: The green cube overlaps the red transparent cube
Actual result: The red transparent cube overlaps the green cube
Reproducible with: 2022.1.0b1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b3
Not reproducible with: 2021.3.29f1, 2022.1.0a16
Reproduced on: macOS 13.4.1 (Intel), Windows 10 (by reporter)
Notes:
- Disabling the SwapColorBuffer Renderer Feature causes the green cube to overlap the red transparent cube (Settings/URP-Performant-Renderer)
- Also reproducible in Player
- The user found that the depthTarget setting was invalid after calling UniversalRenderer.SwapColorBuffer(CommandBuffer cmd), and subsequent draws did not have depthTarget
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Error Pause", Player logging, and the searchbar tools disappear when the Console window is below 420px width
- “'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated” warning displays incorrect deprecated method replacement
- World Space UI element is invisible near the camera in Prefab Edit Mode when the Canvas has a non-default Z position
- URP 2D Sprite Lights are rendered in a blocky pattern on Nvidia 5000 series GPUs when using DX11
- Editor freezes and constantly repaints when the Open XR's Project Validation Player Settings are opened
Add comment