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