Search Issue Tracker
By Design
Votes
0
Found in
2022.2.18f1
2023.1.0b15
2023.2.0a13
Issue ID
UUM-35570
Regression
No
[TMP] New lines are not considered when using truncation
Reproduction steps:
1. Open project “TMP floating text bug report.zip”
2. Open “scene”
3. Enter Play Mode
4. Observe the Game view
Expected result: the text on the left side does not float out of the boundaries of the blue square once it fills up the available space (behaves as text on the right)
Actual result: the text on the left side floats out of the boundaries of the blue square
Reproducible with: 2020.3.48f1, 2021.3.24f1, 2022.2.18f1, 2023.1.0b15, 2023.2.0a13
Reproducible on: macOS Ventura 13.2.1 (Intel)
Note: also reproducible in Standalone Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
By default, text wrapping mode will not consider the trailing white spaces for the layout. Changing the Text Wrapping Mode to Preserve Whitespaces achieves the desired result.