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.

TextMesh Pro Issue with inputfield "Hide Mobile Input" at runtime

Discussion in 'UGUI & TextMesh Pro' started by Zarqyjack1, Mar 6, 2023.

  1. Zarqyjack1


    May 9, 2018
    Hi guys. I'm having an issue with changing the "Hide Mobile Input" property at runtime. I have tried to change it using the "shouldHideMobileInput" property from the TMP_InputField component. However, changing this value to either true or false produces the same result. It always changes the "Hide Mobile Input" to true. I have no idea why this is happening. All i'm doing is GetComponent<TMP_InputField>().shouldHideMobileInput = false.

    I have tried to google it but to no avail. Have you guys any idea or is this a bugg?

    Im using Unity 2022.2.6f1 and TextMeshPro 3.0.6

    Please let me know if there are any more information needed. Thanks!