Search Issue Tracker
In Progress
Fix In Review for 2022.3.X
Fixed in 6000.0.59f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1
Votes
0
Found in
2022.3.64f1
6000.0.54f1
6000.1.12f1
6000.2.0b10
6000.3.0a2
6000.4.0a1
Issue ID
UUM-112064
Regression
No
ContentSizeFitter calculates incorrect Height for TextMeshPro Text containing Sprites with Scale Factor=0
Reproduction steps:
1. Open the attached “IN-108323.zip” project
2. Open the “SampleScene”
3. Observe the Game view
4. In the Project Window navigate to Assets > TextMesh Pro > Resources > Sprite Assets
5. Select the “EmojiOne.asset”
6. In the Inspector, expand the “Sprite Glyph Table”
7. Scroll to the very bottom to find “Global Offsets & Scale” menu
8. In the “SF.” property, delete the “0” value or set it at “0” again
9. From the Hierarchy, select the “Text (TMP)” GameObject
10. Observe the “Height” value in the Inspector and observe the Game view
Expected results: The “Height” value is around 80 (depends on how many lines of text there is) and all of the text lines are visible
Actual results: The “Height” value is 0 and text after <sprite> tag is not visible (only after if the <sprite> tag is alone in the line)
Reproducible with: 2022.3.64f1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- If the <sprite> tag is with text on the same line, the text is rendered after the tag (the Height is still shown as 0), but if the <sprite> is alone in the line, the text is not rendered after
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
Add comment