Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Combine Mesh for TextMeshPro

Discussion in 'UGUI & TextMesh Pro' started by DeveloperGT, Aug 5, 2022.

  1. DeveloperGT


    Mar 2, 2020

    For my usecase, I need to render lot of text, say 1000, at different positions. Instead of creating individual gameobject for each of the texts, I thought of combining them into single mesh, in order to improve FPS. (Because I need to render other primitive objects like triangles, lines and points.)

    I tried to extend TextMeshPro component, combining all the meshes of children. Apply this combined mesh to parent and deactivate the children. This doesn't work.

    Could someone help me on how to do it?
    Or is there any other way I can render the huge number of text optimally?

    Screenshot of my tryout.

    Thanks in advance
    mfakkaya likes this.