Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.51f1
6000.1.8f1
6000.2.0b7
6000.3.0a1
Issue ID
UUM-110335
Regression
Yes
Text becomes wrapped when using GUIStyle.CalcSize to set the size of the Rect
Steps to reproduce:
1. Open the attached “GUIMonoFont6.0.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Press the “+” button to add a letter to the string
5. Observe the text
Expected result: The text is written in one line
Actual result: The text is wrapped sometimes
Reproducible in: 2023.1.0a20 (88c767dfc7b6) , 6000.0.51f1, 6000.1.8f1, 6000.2.0b7, 6000.3.0a1
Not reproducible in: 2022.3.63f1, 2023.1.0a19
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The text becomes wrapped every 3 clicks then turns back to inline and repeats again
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
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
- TextShadow properties are not applied when displayed in a custom MenuItem Window
Resolution Note:
While the bug report is entirely valid, this is not something we can fix in TextCore at the moment. The floating point calculations involved might accumulate errors differently on some system/fonts and fixing this might causes other problem elsewhere. In addition to that Imgui does not really support properly display scaling that occurs in the editor (including the game view) and it's adding up to the potential instabilities.
To guarantee the text fit, the user can probably add one horizontal pixel without any consequence.