Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.0b8
Issue ID
1047162
Regression
Yes
ArgumentOutOfRangeException occurs on changing any property on the text component
ArgumentOutOfRangeException occurs on changing any property on the text component
Steps to reproduce:
1. Open any project
2. Create UI text element
3. Increase font size until letters don't fit in the bounding box and are truncated
4. Error is thrown in the console and some artifacting of characters occurs
Expected:
Characters disappear and no error is thrown
Actual:
ArgumentOutOfRangeException error appears
Reproduced on:
Version 2018.3.0a4 (c58b4eb076bf)
Sun, 24 Jun 2018 08:27:33 GMT
Branch: trunk
Version 2018.3.0a3 (0ac1bca97520)
Sat, 16 Jun 2018 20:31:36 GMT
Branch: trunk
Version 2018.3.0a1 (d734fac073ec)
Wed, 06 Jun 2018 08:19:04 GMT
Branch: trunk
Version 2018.3.0a1 (e02d28f8ceac)
Wed, 06 Jun 2018 13:45:57 GMT
Branch: ui/dev/package
Not Reproduced on:
2018.2.0b10, 2018.1.4f1, 2017.4.5f1
Note: I could also reproduce this issue with Horizontal Layout Group by simply changing Child Controls Size and Child Force Expand Width and Height settings. Usually reproduces after a couple of changes
Error in question:
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEngine.UIVertex].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
UnityEngine.UI.Text.OnPopulateMesh (UnityEngine.UI.VertexHelper toFill) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:664)
UnityEngine.UI.Graphic.DoMeshGeneration () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:579)
UnityEngine.UI.Graphic.UpdateGeometry () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:573)
UnityEngine.UI.Text.UpdateGeometry () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:571)
UnityEngine.UI.Graphic.Rebuild (CanvasUpdate update) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:534)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs:198)
UnityEngine.Canvas:SendWillRenderCanvases()
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
- Non-multisampled texture binding errors are logged when running the DepthBlit URP scene with MSAA enabled on Vulkan
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- Long Sprite names are not truncated in the Inspector window name label and the preview labels when a Sprite with a long name is selected
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
This is a duplicate of issue #1037923