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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6