Search Issue Tracker
Fixed
Fixed in 6000.0.52f1, 6000.1.8f1, 6000.2.0a4, 7000.0.0a20
Votes
1
Found in
2022.3.18f1
2023.2.7f1
2023.3.0b4
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-61436
Regression
Yes
[TextMeshPro] Sprite index cannot be found when using the GetSpriteIndexFromName method
Reproduction steps:
1. Open the attached "BUG_Textmeshpro_GetSpriteIndexFromName" project
2. Open the "Assets/Repro" scene
3. Enter the Play Mode
4. Observe the results
Expected results: GetSpriteIndexFromName finds the 'Smiling face with smiling eyes' sprite
Actual results: GetSpriteIndexFromName does not find the 'Smiling face with smiling eyes' sprite
Reproducible with: TMP 3.2.0-pre.1, TMP 3.2.0-pre.7 (2021.3.34f1, 2022.3.18f1), UGUI 2.0.0 (2023.2.7f1, 2023.3.0b4)
Not reproducible with: TMP 3.0.7 (2021.3.34f1, 2022.3.18f1)
Could not test with: TMP 4.0.0-pre.2 (2021.3.34f1, 2022.3.18f1), UGUI 3.0.0-exp.3 (2023.2.7f1, 2023.3.0b4) (spriteInfoList is not defined)
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Note: In 2023.2 and 2023.3. streams the TextMeshPro package is no longer available as it was merged into the UGUI package
Comments (1)
-
alan10801
Jun 11, 2024 09:06
Unity 6000.0.4f1
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
- Export as JSON and CSV options missing from the Quick Search save feature
- Crash on IMGUI::GUIWindow::OnGUI when rendering scene view window in play mode in a specific project
- "FileNotFoundException" & "IOException" thrown when adding "User" Index after deleting "Assets" Index in Search Index Manager window
- Camera Background Solid Color does not Render
- Raytracing renders artefacts and performance drops when switching Volumes at runtime
Resolution Note (fix version 7000.0.0a20):
Fixed TMP's GetSpriteIndexFromName method
Resolution Note (fix version 6000.2.0a4):
Fixed TMP's GetSpriteIndexFromName method
Resolution Note (fix version 6000.1.8f1):
Fixed TMP's GetSpriteIndexFromName method
Resolution Note (fix version 6000.0.52f1):
Fixed TMP's GetSpriteIndexFromName method