Help console command causes exception on 3rd use onward [RESOLVED]

Post Reply
R.D.
Posts: 323
Joined: Fri Oct 07, 2016 10:41 am

Help console command causes exception on 3rd use onward [RESOLVED]

Post by R.D. » Sun Nov 25, 2018 2:50 pm

Minor bug, but easy to reproduce. Open the console and type "help" 3 times. On the third time, you'll get the following errors. This makes the console no longer accept commands until you restart the game.

Code: Select all

String too long for TextMeshGenerator. Cutting off characters.
UnityEngine.Canvas:SendWillRenderCanvases()

String too long for TextMeshGenerator. Cutting off characters.
UnityEngine.Canvas:SendWillRenderCanvases()

ArgumentException: Mesh can not have more than 65000 vertices
UnityEngine.UI.VertexHelper.FillMesh (UnityEngine.Mesh mesh) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Utility/VertexHelper.cs:88)
UnityEngine.UI.Graphic.DoMeshGeneration () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:420)
UnityEngine.UI.Graphic.UpdateGeometry () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:402)
UnityEngine.UI.Text.UpdateGeometry () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:378)
UnityEngine.UI.Graphic.Rebuild (CanvasUpdate update) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:363)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs:150)
UnityEngine.Canvas:SendWillRenderCanvases()


R.D.
Posts: 323
Joined: Fri Oct 07, 2016 10:41 am

Re: Help console command causes exception on 3rd use onward [RESOLVED]

Post by R.D. » Fri Dec 07, 2018 11:40 am

Resolved now.

Post Reply