Question Mark in TMP_Text TextMeshPro Unity
If a question mark appears at the end of the string when processing text from TMP_InputField, it may be due to TMP_InputField adding a zero-width space (0x200B). You won't see this in the input field itself, but it may appear under certain circumstances when passing the text.
This issue can be easily fixed by:
myTextMeshProText.text = myTextMeshProText.text.Replace("\\u200B", "");
Comments (0)
No comments yet.