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}

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.