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
- [Remote Config] PreparePayloadWithConfigType function is looking for camelCase property names, when the JSON objects are using PascalCase naming
- UI Builder Viewport's Tool Gizmo has deadzones
- SpriteShapes are rendered using multiple draw calls when the SRP Batcher determines their nodes are incompatible in a specific project
- UI Toolkit Debugger "Pick Element" selects Scene view panel when trying to select a world space UI element in the Scene view
- MSAA warnings are thrown when custom post-processing is used and the Scene contains transparent GameObjects
Add comment