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
[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) π¨βπ¦
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.