Search Unity

Bug TMP rendering text as blocks - but not all of it and not always

Discussion in 'UGUI & TextMesh Pro' started by realragnvaldr, Jan 3, 2024.

  1. realragnvaldr

    realragnvaldr

    Joined:
    Jul 21, 2019
    Posts:
    41
    Setup
    Unity 2022.3.10f1 (LTS)

    --Correction--
    The problem described below seems to affect only Unity Text objects, and not TMP Text objects - my apologies for the misleading title

    Problem:
    On Android everything is fine, but on iOS text is sometimes rendered as blocks:

    upload_2024-1-3_21-17-26.png

    Two things that are a bit strange about this bug are:

    1) most of the time it is fine - devices that have this problem, only have it now and then (i don't know if it is a problem on all iOS devices are only part of them)

    2) as shown in the screenshot, the problem affects a subset of the characters (most/all capitals seem fine in the screenshot; 'b' and '4' are also fine, but most of the other characters are not)

    The header of the page ('Nieuw spel') is a TMP Text object, which is unaffected. The other texts are regular Unity Text objects.

    I believe that this problem started after I updated from Unity 2021.3.2f1 to 2022.3.10f1.

    Any advice on how I can debug (or better: solve) this would be appreciated.
     
    Last edited: Jan 3, 2024