Hi, I’ve recently upgraded to Unity 6 (6000.0.24f1) and I’ve noticed that my IMGUI drawers have letters/words missing.
After changing from SDF to Bitmap mode, the text returned back to normal - not wrapping last letters/words.
Example:
Drawing word “Assets”:
![]()
Code:
var customStyle = new GUIStyle(EditorStyles.largeLabel);
customStyle.wordWrap = true;
customStyle.fontStyle = FontStyle.Bold;
customStyle.normal.textColor = Color.white;
customStyle.fontSize = 13;
var size = Styles.customStyle.CalcSize(new GUIContent("Assets"));
position.height = size.y; //position is a Rect instance used in other gui elements.
var pos = position;
pos.width = size.x;
GUI.Button(pos, new GUIContent("Assets"), customStyle);
Unity 6 - SDF mode: size = (48.4599991, 17.7399998)
Unity 6 - Bitmap mode: size = (48.0099983, 17.7399998)
Unity 2022.3.49f1: size = (47, 18)