I have upgraded to the latest Unity (at least from a few days ago) and now running 5.6.0f3 Personal and was running a 5.5.x version prior. One of the first things I noticed when I upgraded and opened my current project was the addition of a **Default UI Material** node being added to all of my 2D Canvas UI elements (e.g. UI.Image, UI.Text, etc..). It didn't cause any issues and the automatic project upgrade Unity performed was completely successful. I have even built since and had no problems with those builds.
I recently came back to the project after a few days of down time and started working on a new feature, after adding that feature, now my **Default UI Material** seems to have picked up some of the changes, because now my default material has a Tint applied to it. The odd thing is that the material seems completely disabled from editing, noted by the washed out display of the text (screenshot attached).
The new feature did introduce the first ever Shader and Material used in this project so I'm sure it has something to do with that. All I did was create a gradient shader (based on [this answer][1] as reference, a material for the shader to be used, and applied that material to the one element I wanted it. Why has one of the colors in my gradient been picked up as my **Default UI Material** *Tint*? And why is the default material not editable?
EDIT: After a bit more fiddling, I found that if I change my UI elements from **Material (none)** to the **Sprites - Default** material, my UI elements are rendering as they were before. At least I have a solution, albeit time consuming to update all my UI elements. Still curious as to why default tint has changed and why I can't edit it.
![alt text][2]
[1]: http://answers.unity3d.com/questions/913898/horizontally-gradient-on-image-ui-element.html
[2]: /storage/temp/92120-screen-shot-2017-04-15-at-114622-pm.png
↧