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
- Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
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.