Search Issue Tracker

Fixed in Unity 2019.2

Votes

0

Found in

2017.1.0f3

Issue ID

938054

Regression

No

Unity freezes when adding variants to ShaderVariantCollection for shader with many shader_feature

Shaders

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

Steps to reproduce:

1) Download attached project 'BugReproShaderVariants.zip' and open in Unity
2) In the Project window, click on 'ShaderVariantsForMany.shadervariants' Shader Variant Collection
3) In the Inspector window, click on 'Add shader' button
4) After shader selection window shows up, double click on 'ManyVariantsShader.shader' shader
5) Click on the plus icon to add a shader variant to Shader Variant Collection
----Unity will freeze

Expected result: Unity should add a shader variant to Shader Variant Collection without freezing
Actual result: Unity freezes while adding a shader variant to Shader Variant Collection

Reproduced with:
5.5.4p2, 5.6.3f1, 2017.1.0p3, 2017.2.0b6, 2017.3.0a2

All about bugs

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