Black UI when building to android

It is unreliable and doesn’t happen all the time, but often when I build to Android all of the UI elements turn black. Other posts I read about this said to put an image in the UI element, but these have images in them already. Here is what it should look like:


and this is what it looks like instead:

It’s not doing this every time. It will do it and I’ll mess with changing various things and suddenly it will not do it for a while then I’ll work on the project and it will start doing it again. I’m working on a project for both IOS and Android so I’m switching back and forth. I don’t know if that could have any effect on it.

And it’s not everything. The images and the background are still correct it’s only the panels that have the unity default image on them I think.