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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

TextMesh Pro Dropdown menu does not work after changing item font

Discussion in 'UGUI & TextMesh Pro' started by suelydf, Jul 29, 2023.

  1. suelydf

    suelydf

    Joined:
    May 17, 2022
    Posts:
    3
    Hello,
    As stated in the title, my TMP dropdown menus do not work after changing item font.
    The pictures below show what I have done to change the item fonts
    upload_2023-7-29_19-48-5.png
    and what happens when I run
    upload_2023-7-29_19-48-51.png
    basically, the label text never changes

    Thank you in advance for your help
     
  2. hwk9120

    hwk9120

    Joined:
    May 9, 2023
    Posts:
    15
    Hello, I think you have to try changing the Font Asset of Label, not the Item Label. upload_2023-8-1_17-43-4.png
     

    Attached Files:

  3. suelydf

    suelydf

    Joined:
    May 17, 2022
    Posts:
    3
    Thank you.
    I have changed both: Label and Item Label. They show properly, but Label no longer changes when an option is selected.
     
  4. hwk9120

    hwk9120

    Joined:
    May 9, 2023
    Posts:
    15
    Last edited: Aug 2, 2023
  5. suelydf

    suelydf

    Joined:
    May 17, 2022
    Posts:
    3
    It's pretty large, I'll reproduce the problem in a new (leaner) project

    [later]

    of course, in the new project it worked fine :(
    I have noticed that in the old project the Label font material is different from the Item font material, it could be the problem
     
    Last edited: Aug 2, 2023
    hwk9120 likes this.