Search Issue Tracker

Duplicate

Duplicate in 6000.6.X

Votes

0

Found in

6000.3.11f1

6000.5.0a8

6000.6.0a1

Issue ID

UUM-137896

Regression

Yes

Text colour is unchanged when calling MeshGenerationContext.DrawText with color parameter in Custom Control

UI Toolkit Framework

-

Reproduction steps:
1. Open the attached project “ReproProject”
2. Open the scene “SampleScene“
3. Observe the result in the Scene or Game View

Actual result: Text colour is white
Expected result: MeshGenerationContext.DrawText acknowledges the colour parameter which should make the text of red colour

Reproducible in: 6000.3.11f1, 6000.5.0a8, 6000.5.0a9, 6000.6.0a1
Not reproducible in: 6000.0.71f1 6000.3.10f1, 6000.4.0f1 6000.5.0a7

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Alternatively, the reproduction can be observed via accessing the .uxml file using UI Builder (can be accessed by double-clicking on the .uxml file in the Project window)
- "testcontrol.cs" Custom Control script is attached to the .uxml within the UIDocument in the scene
- When testing in 6000.5, the reproduction can be observed by accessing the .uxml file via the UI Builder. Due to another issue where the text is not visible in scene starting from 6000.5.0a5, this is the only way to verify that the bug actually reproduces

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.

    We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.

    Thank you for helping us improve Unity!

  2. Resolution Note (6000.6.X):

    Thank you for reporting a bug to Unity.

    We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.

    We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.

    Thank you for helping us improve Unity!

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.