Search Issue Tracker
Fixed
Fixed in 6000.0.69f1, 6000.3.11f1, 6000.4.0b10, 6000.5.0a6
Votes
0
Found in
6000.0.64f1
6000.3.2f1
6000.4.0b2
6000.5.0a3
Issue ID
UUM-130554
Regression
Yes
IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
Reproduction steps:
1. Open the attached “IN-126647” project
2. Open the “Scenes/SampleScene” Scene
3. Select the “Canvas/Text (TMP)” GameObject in the Hierarchy window
4. Set text to “<a>text</a>” under the “TextMeshPro - Text (UI)” Component in the Inspector window
5. Observe the Console
Actual result: “IndexOutOfRangeException: Index was outside the bounds of the array.” or “NullReferenceException: Object reference not set to an instance of an object” error is thrown
Expected result: No errors are thrown
Reproducible with: 2023.1.0a20 (be935afddb32), 6000.0.64f1, 6000.3.2f1, 6000.4.0b2, 6000.5.0a3
Not reproducible with: 2023.1.0a19 (0c2ff406cf78)
Reproducible on: Windows 11, Ubuntu 25.04
Not reproducible on: No other environments tested
Workaround: “IndexOutOfRangeException” error can be fixed by adding a “href” value to “<a>” tag
Note:
- Exception thrown depends on which Editor version you’re testing
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.5.0a6
Resolution Note (fix version 6000.5.0a6):
Fixed in 6000.5.0a6
Resolution Note (fix version 6000.4.0b10):
Fixed in 6000.4.0b10
Resolution Note (fix version 6000.3.11f1):
Fixed in 6000.3.11f1
Resolution Note (fix version 6000.0.69f1):
Fixed in 6000.0.69f1