Search Issue Tracker
Fixed in 2021.3.23f1
Fixed in 2022.2.14f1
Votes
0
Found in
2021.3.17f1
2022.2.4f1
Issue ID
UUM-28786
Regression
No
Crash on ShaderLab::Program::CreateFromSerializedProgram when trying to load a material with non-default shaders from assetbundle
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open “CrashScene“ scene
3. Enter Play mode
Expected result: “Atmoshpere Display” script executes
Actual result: Editor crashes
Reproducible with: 2021.3.17f1, 2022.2.4f1
Couldn’t test with: 2020.3.44f1(Package errors, could not fetch packages) 2023.1.0b1 (Console errors), 2023.2.0a3 (Console errors)
Reproducible on: Windows 11, Windows 10
First few lines of Stack trace:
{noformat}0x00007ff6c5a110a7 (Unity) ShaderLab::Program::CreateFromSerializedProgram
0x00007ff6c5a10773 (Unity) ShaderLab::Pass::CreateFromSerializedPass
0x00007ff6c5a12901 (Unity) ShaderLab::SubShader::CreateFromSerializedSubShaderThreaded
0x00007ff6c5a12002 (Unity) ShaderLab::IntShader::CreateFromSerializedShaderThreaded
0x00007ff6c5a1fedf (Unity) ShaderFromSerializedShaderThreaded
0x00007ff6c74cb47b (Unity) Shader::CreateFromParsedFormThreaded{noformat}
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
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
Resolution Note (fix version 2021.3.23f1):
Fixed by another internal issue: UUM-28310: [Addressables][Switch] Editor crashes in Play mode when using Addressable bundles built using Nintendo Switch platform
Resolution Note (fix version 2022.2.14f1):
Fixed by another internal issue: UUM-28310: [Addressables][Switch] Editor crashes in Play mode when using Addressable bundles built using Nintendo Switch platform