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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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