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
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
- “ReferenceError: Pointer_stringify is not defined” error is thrown when downloading a file
- GameObjects are not rendered when using a fragment shader with RWStructuredBuffer in URP
Add comment