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
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
- Non-multisampled texture binding errors are logged when running the DepthBlit URP scene with MSAA enabled on Vulkan
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- Long Sprite names are not truncated in the Inspector window name label and the preview labels when a Sprite with a long name is selected
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
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