Search Issue Tracker
By Design
Votes
0
Found in
3.5.5f2
Issue ID
484834
Regression
No
[TextMesh] Changing the font size of the text mesh changes the position at which it is rendered
By design:
Yeah looks like it's happening for non-TextMeshes too (e.g. legacy GUIText, 4.6 UI) have the same problem too - there's some "space" around the letters (font? line size? kerning? etc.). So the letters are never flush up to the corner.
Steps to repro:
1. Download the attached project (484834_small_repro.zip)
2. Open the project and open the "TextMesh" scene
3. Select the "TextMesh" object and center the camera on it
4. In the Inspector change the "Font Size" property
5. Notice that the text is being rendered in different position
Expected results:
Changing font size doesn't change the position where the text mesh is rendered. i.e. the top left corner should always be at the same place when changing the font size.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment