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
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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Resolution Note (fix version 2023.3.0b1):
Ensure Sprites can be reordered within a SpriteAsset.
Resolution Note (fix version 2022.3.0f1):
Ensure Sprites can be reordered within a SpriteAsset.
Resolution Note (fix version 2021.3.0f1):
Ensure Sprites can be reordered within a SpriteAsset.