Reproduction steps:
1. Open the attached “IN-89723_vulkancrash” project
2. Make sure Vulkan Graphics API is used
3. Replace “Assets/Custom RP/Runtime/Passes/LightingPass.cs“ with the attached LightinPass.cs script
4. Open the “Assets/Scenes/LOD/LOD Scene.unity” scene
Expected results: Scene is opened
Actual results: Unity Editor crashes
Reproduced with: 2023.3.0b10, 6000.0.30f1, 6000.1.0a7
Couldn’t reproduce with: 2021.3.46f1, 2022.3.54f1, 2023.3.0b9 (Couldn’t downgrade the project)
Reproduced on: Ubuntu 24.04, Windows 11
First lines of the stack trace:
0x00007FF93911A74F (Unity) vk::DescriptorState::BindRandomWriteBuffer
0x00007FF93915E7C9 (Unity) GfxDeviceVKBase::BindComputeBufferVK
0x00007FF93910AF6D (Unity) VKGpuProgram::ApplyGpuProgram
0x00007FF939136943 (Unity) VKImmediateContext::SetShaders