How to reproduce:
1. Open the project “IN-99676_Wireframe”
2. In the Scene View, click the “Wireframe Draw” button
3. Observe the Scene View, Game View and the Console
Expected result: The Scene View displays the Wireframes, Game View does not change and the NullReferenceException is not present in the Console
Actual result: The Scene View becomes grey, Game View is black and the Console floods with NullReferenceException errors
Reproducible with: 6000.0.14f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a9
Not reproducible with: 2021.3.51f1, 2022.3.61f1, 6000.0.13f1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: In Wireframe mode, even though a GBuffer is not created, the exception occurs because DecalGBufferRenderPass tries to reference the GBuffer