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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.