Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.9f1
6000.4.0b9
6000.5.0a7
Issue ID
UUM-134477
Regression
No
“IndexOutOfRangeException: Index was outside the bounds of the array.” error is thrown when large Text (TMP) GameObject Overflow field is set to Ellipsis
Reproduction steps:
1. Create a new project
2. Create Text - TextMeshPro GameObject (GameObject > UI (Canvas) > Text - TextMeshPro)
3. Enter long text into Text field in the Inspector
4. Change Font Size value to 1
5. Change Overflow to Ellipsis
Actual result: “IndexOutOfRangeException: Index was outside the bounds of the array” error is thrown
Expected result: No warnings or errors are thrown
Reproducible with: 6000.0.67f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Reproduced on: macOS Sequoia 26.2 (M4)
Note:
Full error:
{code:java}
IndexOutOfRangeException: Index was outside the bounds of the array.
TMPro.TMP_Text.FillCharacterVertexBuffers (System.Int32 i) (at ./Library/PackageCache/com.unity.ugui@bb329a87fcdc/Runtime/TMP/TMP_Text.cs:5529)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at ./Library/PackageCache/com.unity.ugui@bb329a87fcdc/Runtime/TMP/TextMeshProUGUI.cs:4914)
TMPro.TextMeshProUGUI.OnPreRenderCanvas () (at ./Library/PackageCache/com.unity.ugui@bb329a87fcdc/Runtime/TMP/TextMeshProUGUI.cs:2522)
TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) (at ./Library/PackageCache/com.unity.ugui@bb329a87fcdc/Runtime/TMP/TextMeshProUGUI.cs:229)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at ./Library/PackageCache/com.unity.ugui@bb329a87fcdc/Runtime/UGUI/UI/Core/CanvasUpdateRegistry.cs:215)
UnityEngine.Canvas:SendWillRenderCanvases() (at /Users/bokken/build/output/unity/unity/Modules/UI/ScriptBindings/UICanvas.bindings.cs:121)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment