Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.3.4f1
6000.4.0b4
6000.5.0a4
Issue ID
UUM-132202
Regression
No
Paragraph Spacing and the 'line-height' tag are not working when the Advanced Text Generator is enabled
How to reproduce:
- Open the “ATGBug.zip“ project
- Open the “Assets/Data/UI Toolkit/NewUXMLTemplate.uxml“ in UI Builder
- Select the “text-ParagraphSpacing“ element in the UI Builder’s Hierarchy
- In the UI Builder’s Inspector, change the Text → Paragraph Spacing value
- Observe the UI Builder’s Viewport
Alternatively:
- Open the “ATGBug.zip“ project
- Open the “Assets/Data/UI Toolkit/NewUXMLTemplate.uxml“ in UI Builder
- Select the “text-LineHeightRichText“ element in the UI Builder’s Hierarchy
- In the UI Builder’s Inspector, change the percentage in the ‘line-height’ tag of the Text field
- Observe the UI Builder’s Viewport
Actual results: Nothing happens
Expected results: Changes reflect on the text displayed in the Viewport (spacing between lines gets bigger/smaller)
Reproducible in: 6000.0.23f1, 6000.0.66f1, 6000.3.4f1, 6000.4.0b4, 6000.5.0a4
Could not test in: 6000.0.0f1 (Unreliable testing due to different behavior)
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested
Notes:
- Advanced Text Generation has to be enabled both in the Project Settings → UI Toolkit and in the UI Builder on each document under the Text section
- In 6000.0.0f1, the ‘line-height’ tag is not working, and paragraph spacing only works after the last paragraph. Such results make the results unreliable
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Add comment