Search Issue Tracker
By Design
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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.