Search Unity

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

Bug Changing TMP Meterial Preset with GameObject Localizer

Discussion in 'Localization Tools' started by LeeJiHoon, Nov 11, 2023.

  1. LeeJiHoon

    LeeJiHoon

    Joined:
    Aug 4, 2016
    Posts:
    14
    I change the TMP Meterial Preset using GameObject Localizer.

    If you change the language while playing, the edges of the font will be cut off, as shown in the screenshot.

    What's the problem?
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,147
    Do you also change the font or just the material? I think you may need to do both.
     
  3. LeeJiHoon

    LeeJiHoon

    Joined:
    Aug 4, 2016
    Posts:
    14
    Both LocalizeTMPFontEvent and GameObjectLocalizer are used.
    However, LocalizeStringEvent is not used.

    Unity: 2022.3.8f1
    Localization: 1.4.5

    Is there any other way to change the TMP material preset?
     

    Attached Files:

  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,147