Search Issue Tracker
Feature Request
Votes
2
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b17
2023.3.0a14
Issue ID
UUM-56018
Regression
No
The text with a <style> tag and a style from a custom style sheet is shown as rich text when viewed in the UI Builders Viewport pane
How to reproduce:
1. Open the “UIBuilder_TextStyle_Repro“ project
2. Open the “SampleScene“
3. Open the “Window/UI Toolkit/UI Builder“ window
4. In the UI Builder window open the “Assets/Example.uxml“ asset
5. Observe “#example-style“ Label in the Viewport pane
Expected result: The Label “#example-style“ is displayed in that custom style.
Actual result: The Label “#example-style“ is displayed as rich text.
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes:
- The Label “#example-style“ in the Game view is displayed correctly (in the custom style)
- Also the text with the <strikethrough> tag is displayed as rich text in the UIBuilder Viewport pane
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is a known limitation of the UI Builder, it does not currently support custom Panel and Text Settings. We have plans to address this in the future as feature work.