Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.1.0a3

Issue ID

1084821

Regression

No

[InputField] Symbol is written on the top of previosly written symbol when using certain emojis

uGUI

-

[InputField] Symbol is written on the top of previosly written symbol when using certain emojis

To reproduce:
1. Open project
2. Play 'Scene1' in the editor or Mac Standalone
3. Copy any of the emojis from the list below the repro steps
4. Paste the emoji in the InputField, ArgumentOutOfRangeException will be thrown
5. Notice that you cannot write to InputField anymore, until standalone build or scene play in editor will be restarted

Reproduced: 2019.1.0a3

Emojis that causes the issue:
List: https://unicode.org/emoji/charts/full-emoji-list.html
- U+1F469 U+200D U+1F467 (NΒΊ 359 from the list) πŸ‘©β€πŸ‘§
- U+1F469 U+200D U+1F466 (NΒΊ 357 from the list) πŸ‘©β€πŸ‘¦
- U+1F468 U+200D U+1F466 (NΒΊ 352 from the list) πŸ‘¨β€πŸ‘¦

  1. Resolution Note (2019.1.X):

    The outlined behavior is due to the UI Input Field not currently supporting Emojis. In addition, the Emoji in the provided list use Emoji Modifiers which is not supported either. There are no plans to add this functionality to the UI Input Field.

    Having said that, TextMeshPro components and Input Field do support Emojis. TMP does not currently support Emoji Modifiers but this is a feature that is planned to be added.

    Using the latest release of TextMeshPro which is version 1.4.1 and 2.0.1, with the new Dynamic SDF system. Using a font file that contains Emojis such as the EmojiOne-svg.otf, and copy / pasting the following πŸ‘©β€πŸ‘§ , we get the following image. Since Emoji modifiers is not support, we get the two distinct emojis in the sequence.

    This current emoji font is B&W. Color emojis are supported via the Sprite Asset feature. Support for extracting color emojis from font files is also planned.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.