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
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6