Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2019.2.X
Votes
0
Found in
2019.1.0b9
2019.1.0f2
2019.2.0a9
2019.3.0a1
Issue ID
1150686
Regression
Yes
Editor crashes in Shader::IsSupported() when trying to change Material's Shader HDRP/Lit to any other shader via a dropdown menu
How to reproduce:
1. Open the attached project
2. Go to the Asset folder-> Shaders-> Select New Material
3. Go to the inspector window try to change the Shader HDRP/Lit to any other via a dropdown menu
---Crash occurs----
Reproducible with: 2019.1.0b9, 2019.1.2f1, 2019.2.0a10, 2019.2.0b1, 2019.3.0a2
Not reproducible with: 2019.1.0a1, 2019.1.0b8, 2019.2.0a1, 2019.2.0a9
Stack trace:
#0 0x00000107134cd4 in Shader::IsSupported() const
#1 0x00000103d66048 in GetAllShaderInfo()
#2 0x000001050ff74b in ShaderUtil_CUSTOM_GetAllShaderInfo()
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
ValiZ
Feb 20, 2021 16:39
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 getting 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.
I still have to check and delete the file from time to time when i see unity starting to freeze again.