Search Issue Tracker
Fixed
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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note:
Fixed by another internal issue: UUM-28310: [Addressables][Switch] Editor crashes in Play mode when using Addressable bundles built using Nintendo Switch platform