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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
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.