Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- Go to Edit > Project Settings > UI Toolkit
- Enable "Advanced Text Generator"
- Create a UI Document (Assets > Create > UI Toolkit > UI Document (UXML))
- Double-click on it to open in UI Builder
- Drag a Label to the UI Builder Hierarchy and select it
- In the Inspector, expand the "Text" foldout
- Change "Text Generator Type" to Advanced
- Enable "Auto Size" property
- Click File > Save
- Resize the Inspector panel in the UI Builder
- Observe the Console
Actual results: "Underline vertex left position is greater than right position" and "Underline start position is greater than end position" errors are spammed in the Console
Expected results: no errors
Reproducible with versions: 6000.4.0b5
Not reproducible with versions: 6000.0.66f1, 6000.3.5f1, 6000.4.0b4, 6000.5.0a5
Tested on (OS): Windows 11
Notes:
- Not sure of the exact repro steps, as it can be quite inconsistent, and the issue has reproduced without performing all the steps. But the provided steps should reproduce the issue