Search Issue Tracker

Active

Under Consideration for 6000.3.X

Votes

0

Found in

6000.0.66f1

6000.3.4f1

Issue ID

UUM-133627

Regression

No

Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes

Shader System

-

How to reproduce:
1. Open the attached “IN-131723.zip” project
2. Open the “SampleScene”
3. Open the “flask test” ShaderGraph and dock it next to the Scene View
4. Make any changes in the ShaderGraph
5. Rapidly mash CTRL + S to save the ShaderGraph
6. Observe the crash

Reproducible in: 6000.0.66f1, 6000.3.6f1, 6000.4.0a1
Not reproducible in: 6000.4.0a2, 6000.4.0b5, 6000.5.0a5

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- ”Failed to write shader cache entry to Library/ShaderCache/” or “Assertion failed on expression: 'm_AdjustedVariantDataCreated'“ errors may appear in the Console Window prior to crashing
- Also reproducible with VFXGraph instead of ShaderGraph
- It may take a around a minute or two of mashing CTRL + S before the crash happens

First few lines of stacktrace:

0x00007FFC2DD35140 (Unity) UNITY_XXH32
0x00007FFC2DBFE49E (Unity) ReadFromShaderCache
0x00007FFC2DBF9155 (Unity) GetSerializedSubProgramForShaderSnippet

OR

0x00007FF859B2571E (Unity) EnumerateDisabledKeywordsInVariantsArray
0x00007FF859B23A89 (Unity) CompileShaderSnippet
0x00007FF859B2660B (Unity) GetSerializedSubProgramForShaderSnippet
0x00007FF85A178B02 (Unity) CompileSingleVariantJob

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.