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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.