A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'UGUI & TextMesh Pro' started by AbgaryanFX, Dec 7, 2018.
Getting 'ZERO WIDTH SPACE' character at the end of text from Input field
Is it ok !?
When working with the TMP_Input field, make sure you use the .text property of the TMP_InputField and not of the underlying text component.
For instance, in the case of a password, the text component would contain "*******" whereas the TMP_InputField.text would contain the actual password.
This Zero Width Space is used in the underlying / child text component for layout purposes only but since you should not be referencing / using this .text property, it should not matter.
Ohh, now I see what was wrong! Thanks!