Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2019.1.X, 2019.2.X



Found in



Issue ID




Editor crashes on selecting shader dropdown in the inspector after packages are removed from the project

Graphics - General


Editor crashes on selecting shader dropdown in the inspector after resetting package to default

Steps to Repro:

1. Create a new project with LWRP Template
2. Go to Help > Reset packages to defaults
3. Select "Drywall Panel" GameObject in the Hierarchy
4. Go to Inspector > Mesh Renderer > Click on Shader dropdown

Expected Result: Shader dropdown opens
Actual Results: Editor Crashes

Occurring on : Windows 10

Reproducible on : 2019.1.0b9, 2019.1.0b8, 2019.1.0b7, 2019.1.0b6, 2019.1.0a1
Working Fine on: 2019.2.0a9, 2018.3.0f2

Comments (7)

  1. DanjelRicci

    Mar 14, 2021 13:05

    This problem appeared in my project after upgrading from 2020.2.0 to 2020.2.7. Every time I choose a shader from the dropdown in the Material properties, the editor hangs for some seconds. Solved with the solution wrote by Valiz, thanks.


    Mar 02, 2021 12:17

    There is still the problem (2020.2.6f1) This issue didn't exist until I started working with Shader Graph. Now I deleted the ShaderCache clapper and the ShaderCache.db (6.7GB) file as Valiz wrote and it was fixed.

  3. DigitalIPete2

    Feb 25, 2021 13:10

    Im pleased to find a solution to this for 2020.2.6f1 - Valez thanks - Im going to try that on my project.

    This issue is certainly not fixed.

  4. ValiZ

    Feb 20, 2021 16:34

    Hello! I don't know if this is the same problem, but i had unity always freezing when tried to select the shader dropdown.
    What worked for me was to go into my project folder/Library and delete the file called ShaderCache.I dind't knew why my project was getting so big every time, without adding any new assets or when in fact my project is a small one.Looks like the ShaderCache file was geeting bigger every time when i tried to modify a material, it was 14gb.After deleting that, unity works normally and i am able to change the materials or shaders properties as usual.

  5. MarshallVisions

    Jun 21, 2019 09:02

    I'm having the same problem in 2018.3.14

  6. Eloujah

    May 23, 2019 10:02

    The same with me, but with HDRP

  7. BenR

    Apr 02, 2019 21:43

    Seeing similar with Mac. Was running LWRP and tried to change shader. Even creating new material and selecting shader dropdown leads to instant crash.

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.