Search Issue Tracker
Fixed
Fixed in 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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 7000.0.0a20):
Fixed TMP's GetSpriteIndexFromName method
Resolution Note (fix version 6000.2.0a4):
Fixed TMP's GetSpriteIndexFromName method