Custom GUI Button is Black

I made a custom GUI button using GIMP. The button is originally yellow with an orange border, but when I use it in unity, it becomes completely black. I am new to making custom GUI skins so I have no idea where I went wrong. How do I get my button to become yellow with an orange border? Thanks!

If you’re using the default GUI (OnGUI()) then there are a couple of reasons this could be happening. I don’t think this will hit them all, but all of my problems with this resulted from one of the following:

  • Import the texture as a GUI. To do this, click on the image and go to “Texture Type → GUI”

  • Also, check all of the colors on the used GUIStyle. Make sure that there aren’t any colors that are black unless you specifically want it that way.