Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug TextMeshPro Input Field is Broken

Discussion in 'UGUI & TextMesh Pro' started by peq42, Sep 30, 2022.

  1. peq42

    peq42

    Joined:
    Mar 4, 2022
    Posts:
    55



    As you can see, it simply is broken. No strings are being passed to the function
     
  2. peq42

    peq42

    Joined:
    Mar 4, 2022
    Posts:
    55
    up?
     
  3. Armynator

    Armynator

    Joined:
    Feb 15, 2013
    Posts:
    43
    I think this is by design. The UI events you can define in the editor pass exactly the variables you defined. You left the string to pass empty, so it it passes an empty string to your method.

    You still can get the current string yourself by using a reference to your InputField. Just use myInputField.text instead of the method argument.
     
  4. peq42

    peq42

    Joined:
    Mar 4, 2022
    Posts:
    55
    but it used to work until the previous version?