How to reproduce:
1. Open the attached “IN-101691.zip” project
2. In the Project window, select the “CrashingShader” asset (located in Assets folder)
3. In the Inspector window, click on “Compile and show code”
4. Observe the crash
Reproducible in: 2022.3.63f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note:
- The Editor may crash during any of the steps (1, 2, 3)
- The Editor may also freeze during compilation of the shader
- Not reproducible on DX11 or Vulkan
First few lines of stacktrace: