Search Unity

TextMesh Pro Incorrect WordWrapping PreferredSize TextMesPro 2.1 preview 3

Discussion in 'UGUI & TextMesh Pro' started by Rafael_CS, Jan 20, 2020.

  1. Rafael_CS

    Rafael_CS

    Joined:
    Sep 16, 2013
    Posts:
    100
    After upgrade from Preview2 to Preview3 i found a error in PreferredSize when WordWrapping Disabled.

    The textmeshprougui is calculating the preferred size as if Wrapping Enabled.

    upload_2020-1-19_21-58-58.png
    upload_2020-1-19_22-0-21.png
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    3,999
    I will try taking a look over the next few days and follow up shortly thereafter.
     
  3. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    3,999
    Please make the following changes in the Global Package Cache to address this issue.

    upload_2020-1-22_15-1-38.png

    Let me know if the above changes correctly resolves the reported issue?

    The above changes will be included in the next preview release which should be out later this week / over the weekend.
     
    Rafael_CS likes this.
  4. Rafael_CS

    Rafael_CS

    Joined:
    Sep 16, 2013
    Posts:
    100
unityunity