Reproduction steps:
1. Download, extract, and open the attached “repro-project“
2. Observe the crash
Reproducible with: 2022.3.5f1, 2022.3.15f1
Not reproducible with: 2021.3.33f1, 2022.3.4f1, 2023.2.3f1, 2023.3.0a17
Reproduced on: Windows 10
Not reproducible on: No other environment tested
First few lines of the stack trace:
0x0000022D7BCEDEB9 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline ()
0x0000022D7BCEDA73 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:PrepareRenderPipeline (UnityEngine.Rendering.RenderPipelineAsset)
0x0000022D7BCECE13 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
0x0000022D7BCED635 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr)
0x00007FF90A084B6E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke