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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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.