Search Unity

Bug TMP Sprite Asset Sizing Bug

Discussion in 'UGUI & TextMesh Pro' started by MousePods, Oct 8, 2021.

  1. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811
    Hi,

    I am trying to keep all my font sprites at a scale of 1 by importing them at the proper size in the texture. However, it seems no matter what I do, TMP scales up or down the textures or is doing something I don't understand?

    Is this a bug?

    Here are some Font Sprites. The square is suppose to be smaller than the circle. In my texture, I have the square much smaller than the circle, but when imported it isn't represented.

    Screen Shot 2021-10-08 at 12.00.02 PM.png
    Here are the settings. I haven't touches these settings. They are default on creation of the asset.

    Screen Shot 2021-10-08 at 12.00.07 PM.png
    Screen Shot 2021-10-08 at 12.00.12 PM.png
    Screen Shot 2021-10-08 at 12.00.21 PM.png

    As you can see in the last image, the square is definitely smaller. Is this a bug?

    EDIT: It seems that TMP does indeed just upscale/downscale the images to all match the same size and then you just adjust the scale if you want something smaller? Just want to confirm that is what is happening!

    Thanks!
     

    Attached Files:

    Last edited: Oct 8, 2021