Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2021.2
2021.2.7f1
2022.1
Issue ID
1392655
Regression
No
Editor crashes on "OnPreprocessShaderVariants" when building the project
Reproduction steps:
1. Open the attached project from the GDrive link
2. Press File > Build Settings
3. Press Build in the Build Settings window
Expected result: Project is built
Actual result: Editor crashes
Reproducible with: 2021.2.9f1, 2022.1.0b5
Not reproducible with: 2022.1.0b6, 2022.2.0a3
Could not test with: 2019.4.35f1, 2020.3.28f1 (could not Downgrade the project)
Stack trace on 2021.2.9f1:
0x00007ff797d62cb8 (Unity) OnPreprocessShaderVariants
0x00007ff797ccc181 (Unity) CompileGpuProgramSnippets
0x00007ff797ccd9bf (Unity) CompileShaderSubprograms
0x00007ff797ccd0c1 (Unity) CompileShaderSubprograms
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
- "Sub Mesh Mask" field in VFX Graph has no padding
- Source Generation with GeneratePropertyBag fails when using reserved keywords as variable names with @ prefix
- Prismatic ArticulationBody moves in opposite direction when using targetVelocity
- Shader Graph skybox material is rendered inccorrectly in builds when "Allow Material Override" or "Cast Shadows" are enabled and the "Deferred" Rendering Path is used
- Object motion is affected by incorrectly added rotation motion when importing animations
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6