Search Issue Tracker

Duplicate

Under Consideration for 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X

Votes

1

Found in

2022.3.6f1

2023.1.5f1

2023.2.0b1

2023.3.0a1

Issue ID

UUM-43148

Regression

Yes

Rich text color tag with certain color names no longer works in Console

--

-

Reproduction steps:
1. Open the “ConsoleRichTextColor” project
2. Open the “ConsoleSample” scene
3. Enter the Play Mode
4. Select the log in the Console and observe its text and colors

Expected result: Color tags work with all color names
Actual result: Colors tags do not work with certain color names (e.g. aqua, brown, cyan)

Reproduced in: 2023.1.0a20, 2023.1.5f1, 2023.2.0b1
Not reproduced in: 2021.3.28f1, 2022.3.6f1, 2023.1.0a19

Reproduced using: macOS 13.4.1 (Intel), Windows 10

Notes:
1. Color names obtained from: [https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/StyledText.html#ColorNames]
2. Also reproduced with UI Toolkit and TextMeshPro but without regression. However, it's expected that not all RichText colors are supported in UI Toolkit and TextMeshPro
3. Not reproduced with legacy text

  1. Resolution Note:

    lightblue and grey colors were fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-22640. The rest of the colors are a feature request. More colors are planned to be supported in the future.

Comments (1)

  1. RunninglVlan

    Jul 19, 2023 21:42

    The list is for Rich Text tags that work in all Unity UIs: uGUI, UITK and IMGUI. I just checked and certain colors don't work in uGUI too (`<color=red>red</color>` works, but `<color=cyan>cyan</color>` doesn't).
    And why is this not regression, but https://issuetracker.unity3d.com/issues/some-visual-ui-elements-in-the-reflection-probe-component-have-regressed is?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.