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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.