Search Issue Tracker
Fixed
Votes
3
Found in [Package]
Issue ID
1332695
Regression
No
UI Document text will wrap unnecessarily when resizing the Game View Horizontally or changing the Match in Panel Settings
How to reproduce:
1. Open the attached project "FontTest.zip"
2. Open SampleScene
3. Resize the Game View horizontally
4. Observe the text in the top left corner of Game View
Expected result: The text stays in one line
Actual result: The text wraps to two lines at certain sizes
Reproducible with: 2021.2.0a16
Not reproducible with: 1.0.0-preview.7 - 1.0.0-preview.14 (2020.3.7f1, 2021.1.6f1)
Could not test with: 1.0.0-preview.3 - 1.0.0-preview.6 (text does not draw); 2018.4.34f1, 2019.4.25f1 (UI Toolkit not supported)
Notes:
1. The issue is also reproducible when moving the Match slider in the Panel Settings
2. The issue seems to depend on the size of the Editor window. Sizing it to 2:1 or wider reproduces the issue best
Comments (1)
-
pawelduda
Oct 13, 2021 07:58
Please backport to 2021.2
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
- WebGPU errors when CoreCopy shader is used to copy an MSAA texture
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
Resolution Note:
Fixed in 2022.1.0a13