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()
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
- Prefab's scripts are constantly reloaded when trying to enter multiple digits or characters into public fields on custom scripts consecutively
- [Linux] Progress modal window stays on top of every other window and cannot be moved
- Crash on mono_g_hash_table_find_slot when entering Play Mode
- [iOS] Crash when pressing "Done" on the keyboard layout
- Sprite Atlas remains loaded in memory after scene change or unloading assets
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.