Search Issue Tracker
Fixed
Fixed in 2022.3.69f1, 6000.0.61f1, 6000.2.8f1, 6000.3.0b5, 6000.4.0a1
Votes
0
Found in
2022.3.63f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
6000.3.0a5
Issue ID
UUM-109230
Regression
No
[DX12] Crash on ShaderLab::SubProgram::Compile or freeze when compiling a specific Ray Tracing shader
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:
{noformat}0x00007FFC55686C8F (Unity) ShaderLab::SubProgram::Compile
0x00007FFC564C8DBA (Unity) FinalizeVariant
0x00007FFC564D10DE (Unity) GetSubProgramForShaderSnippet
0x00007FFC55687231 (Unity) ShaderLab::Program::CompileShaderSubProgram
0x00007FFC55688A8F (Unity) ShaderLab::Program::GetMatchingSubProgram{noformat}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note:
-
Resolution Note (fix version 6000.3.0b5):
Fix verified in 6000.3.0b5.
Resolution Note (fix version 6000.2.8f1):
Fix verified in 6000.2.8f1.3849