Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Help Wanted TextMeshPro acts weird when it gets updated at runtime

Discussion in 'UGUI & TextMesh Pro' started by wztk, Jun 8, 2021.

  1. wztk

    wztk

    Joined:
    Feb 25, 2020
    Posts:
    22
    Hello,

    I'm struggling with this very minor, although noticeable thing. One of my texts, which is getting updated at runtime, will at random include small chops of different characters, as seen below (first or second six has an extra unnecessary line).
    upload_2021-6-8_16-56-6.png
    Font is quite small compared to others, as the font size is 36 when others are 70+ in the scene.
    This text is also included in a different scene with same settings, but it's not updated and does not get this 'choppy'.
    So far I've tried to increase padding on font atlas, change the size of font atlas and use option 'Extra padding' in Extra settings to try and fix it but it still happens.
    Does anybody have an idea on how to prevent this from happening?

    Thanks for suggestions in advance.
     

    Attached Files:

unityunity