Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X

Votes

31

Found in

2019.4

2020.3

2021.2

2022.1

2022.2

Issue ID

1388530

Regression

No

Shader stripping crashes when it gets too many variants

Shader System

-

STR:
1. Create a new Unity project using the 3D template.
2. Extract the attached files into the Assets folder.
3. Create a material, assign NewUnlitShader extracted in step 2 to it.
4. Create a cube, assign the material from step 3 to it.
5. Open the Build Player menu.
6. Press build.

Expected: the build succeeds
Actual: Unity crashes after consuming several GB or memory.

Comments (10)

  1. A93758597efeedd94031a78246d0d6fc?d=mm

    swantonb

    Mar 11, 2022 04:02

    Yep...Marked as fixed but not fixed. I am stuck again

  2. 1d426cf932e1452034a17fbd12a6d455?d=mm

    RitualInteractive

    Mar 03, 2022 19:04

    +1

  3. 03e8f30e04dccdd2ed3bafffbf57ea6b?d=mm

    JeffSSVR

    Feb 04, 2022 21:45

    Don't understand. This is marked fixed but the latest build two days ago lists this as an existing known issue and not a fix.

  4. D10c93bb65477cb5cf7aa79c53ee567f?d=mm

    notgvarados

    Jan 27, 2022 23:44

    This is a game changer. This changed Unity forever.

  5. 446bc93de9964cdd47889160457e494a?d=mm

    Cloudwalker_

    Jan 27, 2022 00:01

    In review, is it almost out?

  6. Fff40a807f523ebe5d4d02d31841c0cc?d=mm

    rcst0kes

    Jan 26, 2022 06:02

    Is this still not fixed?

  7. B4a72a6ff9d49629c34b273ca1c9b6c4?d=mm

    DarkSwitchPro

    Jan 26, 2022 04:43

    +1

  8. 5ad9e27c21e2dfcef26827680a765cbb?d=mm

    Camobiwon

    Jan 26, 2022 02:24

    +1

  9. E485dda0da0875b0d89a5a63383df209?d=mm

    WaxyMcRivers

    Jan 25, 2022 21:13

    +1 Looking for fix - thank you in advance.

  10. 7a1cc0e89968a8649031399d00cb5e6c?d=mm

    Malzadore

    Jan 25, 2022 02:20

    Any ETA on this fix? Currently blocking our team.

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.