Disable rich text in the console?

It’s pretty hard to debug doing stuff with Rich Text if the console keeps converting your rich text into … pretty stuff…

Is there a way to disable Rich Text in the console so I can get a raw print of the Debug.Log?

Example:

// Loop through characters until we hit the > bracket
if (message[i] == '>') // found the end of the rich text format block
{
   Debug.Log ("DONE BLOCK: " + block); // show me what it is
   break;
}

2024 edit
This is extremely old, but still getting views. You apparently still cannot remove rich text from the console 10 years later. If you want to see the rich text tags then they will be visible in the player/editor log file just the same. If you want to stop rich text from happening in the console then there are various stripping extensions you might consider which basically just format the string and remove rich text information before logging. This is going to be a slow operation, but maybe you need it for some reason.

4 Likes

Do you find a way to disable RTF features in the console output? I just bought Console Pro, but it does the same …

Maybe you can see the raw text in the Editor.log

2 Likes