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
- Shadowmask Mode property affects shadow rendering when using Baked Indirect
- Full screen renderer feature does not work with stencil
- Glob function isn't working with TextureImporter in Preset Manager
- [HDRP] New project has unsaved changes when creating a project from HDRP templates
- Some pixels fail to render when using Depth Priming
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6