How to reproduce:
1. Open the “VFX_Crash_Repo.zip“ project
2. Open the “SampleScene“
3. Enter Play mode
Expected result: Editor runs in Play mode
Actual result: Editor crashes on VFXRenderer
Reproducible with: 2022.2.0a15, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17
Not reproducible with: 2021.3.26f1, 2022.2.0a14
Reproducible on: Windows 10
Note: Reproduces with HDRP and URP
First few lines of the Stack Trace:
0x00007ff7586a8cf9 (Unity) VFXRenderer::AddAsRenderNode
0x00007ff75770e967 (Unity) PrepareRenderNodesOnMainThreadDeprecated
0x00007ff75770f5ca (Unity) QueuePrepareIntegrateMainThreadObjects
0x00007ff75770bd12 (Unity) ExtractSceneRenderNodeQueue
0x00007ff757761636 (Unity) CullResults::GetOrCreateSharedRendererScene