Search Unity

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

Question World Space TMP and Batching

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

  1. alcheMikey

    alcheMikey

    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?
     
  2. callumroseFC

    callumroseFC

    Joined:
    May 10, 2019
    Posts:
    7
    Bump here