Search Unity

Question TextMeshPro InputField Activation Error

Discussion in 'UGUI & TextMesh Pro' started by Sylon87, Jun 15, 2020.

  1. Sylon87

    Sylon87

    Joined:
    Aug 20, 2018
    Posts:
    196
    during my game when i'm trying to open my UI where the InputField is i start to get

    [ NullReferenceException: Object reference not set to an instance of an object

    TMPro.TMP_InputField.ActivateInputFieldInternal () (at Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_InputField.cs:3744)

    TMPro.TMP_InputField.LateUpdate () (at Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_InputField.cs:1365) ]



    anyone can help me?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Please test using version 2.1.0-preview.14 of the TMP package.

    Let me know the outcome.