Search Unity

Bug TextBounds showing wrong values

Discussion in 'UGUI & TextMesh Pro' started by AndrewSerrow, Sep 20, 2022.

  1. AndrewSerrow

    AndrewSerrow

    Joined:
    May 20, 2021
    Posts:
    31
    I'm making a dialog system do work in my projects, with a word wrapping system for when typying dialogs using text mesh pro, but I found something weird when debugging the textbound minimum and maximum values, being in a realy wrong.

    TextBounds.Min being in (-960.00, -94.63, 0.00).
    TextBound.Max being in (-614.38, 0.00, 0.00).

    The canvas is actualy in the positive coordinates of the scene.
    Is there anything wrong with the textbounds right now?