Search Unity

TextMesh Pro Exception in 'GenerateCaret()

Discussion in 'UGUI & TextMesh Pro' started by Gladyon, Mar 18, 2022.

  1. Gladyon

    Gladyon

    Joined:
    Sep 10, 2015
    Posts:
    389
    I have encountered the following exception in TextMeshPro 3.0.6 (Unity 2021.2.3):
    The problem is that in my case, 'currentLine' is set to '-1'.
    I've seen that the upper boundary is checked, unfortunately the lower one isn't.
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Please give the latest release of the TMP package a try. This release is version 3.2.0-pre.3.