Search Issue Tracker
Fixed
Fixed in 2023.2.0b16, 2023.3.0a11
Votes
0
Found in
2023.1.9f1
2023.2.0b5
2023.3.0a1
Issue ID
UUM-46147
Regression
Yes
Font size calculation is different for each letter when using UnityEngine.GUIStyle.CalcSize
How to reproduce:
1. Open the attached project "mono-font-repro-project.zip"
2. Select Assets/ReproScriptableObject.asset in the Project window
Expected results: Values for letters from "a" to "z" in the Inspector window are identical
Actual results: Values for letters from "a" to "z" in the Inspector window are different
Reproducible with: 2023.1.0a20, 2023.1.9f1, 2023.2.0b5
Not reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.0a19
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note (fix version 2023.3.0a11):
Fixed IMGUI CalcSize() to take advance space into account
Resolution Note (fix version 2023.2.0b16):
Fixed IMGUI CalcSize() to take advance space into account