Reproduction steps:
1. Open the attached "repro_IN-99981" project
2. Open the "Assets/Scenes/SampleScene.unity" Scene
3. In the Hierarchy, add a "3D Object -> Plane"
4. In the Project window, select "Assets/Settings/PC_Renderer.asset"
5. In the Inspector, in the "Full Screen Pass Renderer Feature (Full Screen Pass Renderer Feature)" Component, assign the "Assets/New Shader Graph.shadergraph" material to the "Pass Material" parameter
6. Observe the crash
Reproducible with: 6000.0.6f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0a2
Not reproducible with: 2022.3.62f1, 6000.0.5f1
Reproducible on: Windows 10 (22H2), Windows 11 (23H2) (user's)
Not reproducible on: macOS Sequoia 15.3 (M2 Ultra)
Notes:
- Reproducible on DirectX12
- Not reproducible on DirectX11, Vulkan, OpenGL ES 3.2, and Metal
First few lines of the stack trace:
0x00007FFA2A338860 (Unity) D3D12CommonShader::ApplyGpuProgram
0x00007FFA2A351A66 (Unity) D3D12ImmediateContext::BindShaders
0x00007FFA2A329638 (Unity) GfxDeviceD3D12Base::SetShadersThreadable
0x00007FFA2BAA0A18 (Unity) GfxDeviceWorker::RunCommand
0x00007FFA2BAAE6BC (Unity) GfxDeviceWorker::RunExt