Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2022.1.9f1
2023.1.0a4
2023.2.0a1
Issue ID
UUM-9473
Regression
Yes
Visual artifacts in the scene when using Command Buffers
Steps to reproduce:
1) Download attached project and open in Unity
2) Open scene "CommandBufferTest"
3) In the Hierarchy, select CommandBufferTest gameObject, and make sure "Use Command Buffer" checkbox is enabled
4) Rotate around the green sphere in the Scene view
Expected Result: No artifacts appearĀ
Actual Result: Visual artifacts will appear on the sphere (check the attached video)
Repro:
2023.1.0a4 URP 15.0.0, 2022.2.0b1 URP 14.0.3, 2022.1.9f1 URP 13.1.8, 2022.1.4f1 URP 13.1.8, 2022.1.0b16 URP 13.1.7, 2022.1.0b9 URP 13.1.5, 2022.1.0b8 URP 13.1.5
Regression since:
2022.1.0b8 URP 13.1.5
No Repro:
2022.1.0b7 URP 13.1.5 2022.1.0b5 URP 13.1.5, 2022.1.0b1 URP 13.1.3, 2022.1.0a1 URP 12.0.0, 2021.3.6f1 URP 12.1.7
Device under testing:
MacBook Pro (16-inch, 2021), CPU: Apple M1 Max, Memory: 64 GB, macOS: Monterey 12.1
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
During OnSceneGUI, the active render texture is only set during repaint events. Calling `Graphics.ExecuteCommandBuffer` with an invalid render texture can result in undefined behaviour.
The solution is to only submit drawing commands during Repaint events.
Resolution Note (2023.2.X):
During OnSceneGUI, the active render texture is only set during repaint events. Calling `Graphics.ExecuteCommandBuffer` with an invalid render texture can result in undefined behaviour.
The solution is to only submit drawing commands during Repaint events.