Search Unity

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

Bug All textmeshpro components are centered in build

Discussion in 'UGUI & TextMesh Pro' started by omergurzoglu, Nov 17, 2023.

  1. omergurzoglu

    omergurzoglu

    Joined:
    Jun 9, 2022
    Posts:
    2
    I have textmeshpro-text objects in my scene scattered around in levels, in editor they are in their correct position but in build mode , they all get centered in the screen. There is no problem with the canvas text objects though. This happened to me before and i was able to fix it by playing around with canvas values, but it happened again and i dont remember how i fixed it.


    Screenshot (228).png

    Untitled.png
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,129
    If you're asking about UGUII and TextMeshPro, please use the UI forum dedicated to it.

    The 2D forum is nothing to do with UI.

    I'll move your post.
     
  3. omergurzoglu

    omergurzoglu

    Joined:
    Jun 9, 2022
    Posts:
    2
    Setting the canvas scaler to scale with screen size mode ,and the screen match mode to "expand" fixed it for now