Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

TextMesh Pro Carret positioning is not accurate while using [Screen Space - Camera] setting on canvas component

Discussion in 'UGUI & TextMesh Pro' started by WarNeverChxnges, May 15, 2024.

  1. WarNeverChxnges

    WarNeverChxnges

    Joined:
    Feb 4, 2023
    Posts:
    1
    I didn't find a post about this, so TMP Input Fields' selecting and caret placing are laggy in comparison to [Screen Space - Overlay]. I assume cursor position and its ray cast is perceived in different ways with each setting [Screen Space - Overlay] / [Screen Space - Camera].

    Please let me know how to fix it I want the user experience to be ergonomic, so I'm looking for a way to make it right

    I can't use [Screen Space - Overlay] because I will use a lot of visual effects and particle systems for my UI

    Also, if you take a look at videos, you notice that when I'm trying to place caret at the end of input, it is placed at pre last position.

    It's a lot easier to understand if you look at the videos and compare.

    Screen Space - Camera Example:


    Screen Space - Overlay Example:
     
    Last edited: May 15, 2024