Can't add material to UI button?

I created a shiny gold material in Unity by adjusting the metallic and smoothness. I tried dragging the material into the slot for “material” in the inspector for the UI button and it just turns black. When I try other materials, the button also just turns black. The shiny gold works on objects in the scene but not on the UI button. Since there is a slot for a material, I assume it’s possible to use one on a button. I can’t find a tutorial about how to do it, so I’m asking here.

Greetings @MartinH8921

  • Select your Canvas in the Hierarchy

  • Find Render Mode and change to “Screen Space - Camera”

  • Drag your camera from the Hierarchy to the “Render Camera” field

That should fix it for you.