Unity UI Text Turning Black

Viewed 5353

I have an extremely annoying problem with Unity (2019.1.3f1) and mac os, where UI text color randomly turns black in editor (and happens when in play mode too) and seems to only get fixed when i save the scene(but only temporarily). These are all standard UI Text (part of an asset actually, is the whole menu system I am using).

I have been seeing other people mentioning it online few years back even, but no definitive solution. Is anyone else having that ? Is there any solution ?

Thanks !

4 Answers

quick fix for black UI text is to disable and then enable canvas into editor then ctlr+s (save)

takes 2 seconds to do

also not a real fix as the text will get back to black on next build

Unfortunately this is a bug within the Unity editor itself, and introduced somehwere in 2019.1.0f2. As far as I am aware cannot be completely fixed by yourself. The only things that seem to temporarily "fix" this issue are doing one of the following things:

  • Save the scene (as you've found)
  • Restart the editor
  • Build the project
  • At occasion starting the scene sometimes fixes it, but really unreliable.

Although not exactly the same problem, bug 1143135 is most likely related to the issue. According to the current state of issue 1143135 that will be fixed in version 2019.1.5f1 and 2019.2.0b4.

For the time being it seems we can only hope that that issue is indeed related. And if not put in another bug report.

So I was having this problem right now and I'm not sure if it is the same one but I got it to stay the same color when playtesting by going to Edit> Preferences> Colors> Playmode tint: change it to white. It worked for me hope it helps!

Go Window in top then rendering - lightning and click generate lightning data. it fixed it for me

Related