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
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
- Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Add comment