Debug Log <color> not working

Hello, sorry for (maybe) my stupid question, but despite the official docs

I’ve never been able to show any other Debug Log message color other than white.

Lookin at the docs it should be quite simple…

Debug.Log ("<color = red> someText");

But when I run this very simple and stupid code what I get in the console is:
<color=red> someText

No way to change the color.
I’m I missing something?
Many thanks!

Debug.Log ("<color=ff0000ff>someText</color>");
1 Like

My fault… Many thanks!
Btw, would it be possible to create a new type of Debug to show in the console?
I mean, usually we have a tons of logs, but maybe we would like to filter just a specific one (a bit like with adb).
It seem to me that in Unity we can “filter” just for logs / errors-assertions / warning, that it’s quite insufficient for some projects.

1 Like