Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

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