Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.
This repository was archived by the owner on Oct 30, 2022. It is now read-only.

Error starts popping up after using single quotes in messages. #10

Description

@bjorno43

After using the chat for a while, a Unity error starts popping up and messages will no longer be added to the chat window. Tabbing out and back into the game empties the chat window for good.

Stack trace:

[Error  : Unity Log] ArgumentException: Mesh can not have more than 65000 vertices
Stack trace:
UnityEngine.UI.VertexHelper.FillMesh (UnityEngine.Mesh mesh) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Graphic.DoMeshGeneration () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Graphic.UpdateGeometry () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Text.UpdateGeometry () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Graphic.Rebuild (UnityEngine.UI.CanvasUpdate update) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.Canvas:SendWillRenderCanvases()

Edit:

Seems to be a client side only problem. On server side, everything seems to work just fine. No errors on console and messages are still being received just fine.

Cause of the problem:

Turns out the problem pops up when using a single quote in a message. After using another single quote in another message, the problem is solved again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions