Search Unity

TextMesh Pro TMP_InputField doesn't work on mobile after 1.3.0 -> 1.4.1 update

Discussion in 'UGUI & TextMesh Pro' started by xVergilx, Aug 29, 2019.

  1. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    I've updated TextMesh Pro from 1.3.0 to 1.4.1 recently, and on android it stopped working. (In editor its working just fine).

    Like touches is not registered completely. Select event is still received, and nothing is blocked from the raycast perspective, but the caret do not appear, nor mobile keyboard.

    This is on Unity 2018.4.5f1.

    Does anyone know what can be causing this?
     
  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
  3. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Ok, so Content Type -> Alphanumeric is almost what we need.
    Unfortunately on some native mobile keyboards (e.g. google one), "." (dot) is placed instead of " " (space) which causes it to be erased (when tapped twice). So it was included via regex. And without Custom content type regex is out of reach, well unless hacks involved.

    I guess I'll leave alphanumeric right now, and will wait for the 1.5.0.