Search Unity

TextMesh Pro ArgumentException when pressing backspace

Discussion in 'UGUI & TextMesh Pro' started by dadude123, Apr 2, 2017.

  1. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789
    When creating a UGUI text in the editor, then copy pasting this:
    Code (CSharp):
    1.  
    into it everything works fine. But when you press backspace to delete the emoji again this happens:



    It's a pretty low priority bug though.
    Pressing backspace a second time will fix it.
    But if you don't remember to do that then you're left with one half of a unicode sequence which may cause trouble eventually when you're appending text.


    edit: in case you can't copy paste the symbol from the code block. It's just the silly ghost emoji:
    https://www.emojibase.com/emoji/1f47b/ghost
     
unityunity