Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
1
Found in
2022.3.18f1
2023.2.7f1
2023.3.0b4
6000.0.0b11
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-62110
Regression
No
[TextMeshPro] Wrong “preferredHeight” is returned when using “CalculatePreferredValues” if having VerticalLayout and “Control Child Size” “Height” enabled
How to reproduce:
1. Open the user’s attached “TMPPreferredHeightBug.7z” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Enter Play Mode
4. Press the “Reproduce Bug” Button 3 times
5. Observe the result
Expected result: All of the text is higher than the button
Actual result: Some of the text is at the same height as the button
Reproducible with: 3.0.6 (2021.3.34f1), 3.2.0-pre.7 (2022.3.19f1, 2023.2.8f1, 2023.3.0b4
Could not test with: 4.0.0-pre.2 (errors after package upgrade)
Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested
Note: reproducible in the Editor and Standalone Player (macOS)
Workaround: change “m_internalCharacterInfo[m_characterCount + 1].character” to “m_TextProcessingArray[m_characterCount + 1].unicode” in “TMP_Text.cs”
Comments (5)
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
- [Material]The emission of the materials used in scenes does not carried over correctly after upgrade project to 6000.0.44f1
- Crash on StackWalker::GetCurrentCallstack when opening a project
- [ShaderGraph]
- [Windows][ARM64] Crash when creating a High Definition 3D Sample project
- Unable to undo or redo color swatch changes when creating or deleting color swatches
thwachchayhngsxeiym37
Jan 29, 2024 19:03
ขอบคุณ
thwachchayhngsxeiym37
Jan 29, 2024 19:02
ขอบคุณ
thwachchayhngsxeiym37
Jan 29, 2024 19:02
ขอบคุณ
thwachchayhngsxeiym37
Jan 29, 2024 19:01
ขอบคุณ
thwachchayhngsxeiym37
Jan 29, 2024 19:01
ขอบคุณ