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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
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.