Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question World Space TMP and Batching

Discussion in 'UGUI & TextMesh Pro' started by mikeymusch, Nov 27, 2022.

  1. mikeymusch

    mikeymusch

    Joined:
    Feb 18, 2021
    Posts:
    30
    I have a scene with 10 world space text mesh pro texts. They're all using the same custom, imported font, and have identical text. They all use the TextMeshPro/SRP/TMP_SDF-URP shader, with GPU Instancing enabled. When I run the scene the number of objects saved by batching is 0, and when I duplicate the TMP objects in the scene the number of batches goes up linearly.

    How do I batch my world space TMP text so I can have hundreds of TMP objects visible in the scene at any time?