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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6