Search Unity

Question Failing to retrieve string from TMP Input Field

Discussion in 'UGUI & TextMesh Pro' started by Rasborealis, Jun 2, 2023.

  1. Rasborealis

    Rasborealis

    Joined:
    Jan 13, 2023
    Posts:
    7
    I am manually recreating (mostly for learning purposes) a very simple project I originally made in version 2021.3.24f, but on a new computer and using version 2021.2.25f . I ran into a problem with my TMP Input Field, which has an "On End Edit (String)" function to read the user's string input. When I first set this up, I noticed the inspector displayed an empty field in the new version that was absent in the old one. I am using the same scripts for both versions, and in the old version it worked fine, but the new one only returns a blank instead of the input, and I'm guessing this might be related to that mystery field I'm not sure what to do with.

    I feel like I am probably overlooking something obvious, but answer-searching and experimentation haven't gotten me anywhere, and I'd really like to make progress without hours of banging my head against the wall, so any help would be appreciated.

    Thanks in advance.

    scr_unity_tmpimput.png