Search Issue Tracker

Fixed

Fixed in 2021.3.0f1, 2022.3.0f1, 2023.2.8f1, 2023.3.0b1

Votes

0

Found in

2021.3.30f1

2022.3.10f1

2023.1.14f1

2023.2.0b10

2023.3.0a6

Issue ID

UUM-49349

Regression

Yes

TextMeshPro throws an ArgumentOutOfRangeException when glyph's id is greater than the sprite array

--

-

Reproduction steps:
1. Open the “Repro” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Select the “Text (TMP)” GameObject located under the “Canvas” GameObject in the Hierarchy window
4. Observe the Console

Expected result: No errors are present
Actual result: “ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index” error is logged

Reproducible with: 3.2.0-pre.4, 3.2.0-pre.5 (2021.3.30f1, 2022.3.10f1, 2023.1.14f1), 3.2.0-pre.5 (2023.2.0b10, 2023.3.0a6)
Not reproducible with: 3.0.6, 3.2.0-pre.3 (2021.3.30f1, 2022.3.10f1, 2023.1.14f1)
Couldn’t test with: 4.0.0-pre.1, 4.0.0-pre.2 - due to errors in the project

Reproducible on: Windows 10 Pro (22H2)
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 2023.3.0b1):

    Ensure Sprites can be reordered within a SpriteAsset.

  2. Resolution Note (fix version 2022.3.0f1):

    Ensure Sprites can be reordered within a SpriteAsset.

  3. Resolution Note (fix version 2021.3.0f1):

    Ensure Sprites can be reordered within a SpriteAsset.

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.