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

  1. Resolution Note (fix version 7000.0.0a20):

    Fixed TMP's GetSpriteIndexFromName method

  2. Resolution Note (fix version 6000.2.0a4):

    Fixed TMP's GetSpriteIndexFromName method

Comments (1)

  1. alan10801

    Jun 11, 2024 09:06

    Unity 6000.0.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.