Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.1f1

Issue ID

1015846

Regression

No

Inserting and then Deleting Unicode Emojis into The Text Element Crashes Unity

Scripting

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash or major loss of functionality

How to reproduce:
1. Open the User Submitted Project
2. In the Hierarchy menu Right-click -> UI -> Text
3. In the Inspector menu click the Text field and paste in the ?? Emoji a few times
4. Delete the Emoji

Expected result: The Text field displays the Unicode Emoji and doesn't crash when they're deleted
Actual result: Unity displays � in the Scene View and freezes when the text is deleted followed by a crash

Reproducible with: 2018.1.0b6, 2017.3.2f1, 2017.2.2p1, 2017.1.3p2
Not reproducible with: 2018.1.0b12, 2018.1.0b7, 2017.4.0f1

Notes:
- Any of the Emoji from this list reproduce the crash: https://emojipedia.org/emoji-1.0/
- The issue seems to be related to the .NET 4.x Scripting runtime, changing it into 3.5 fixes the crashing but throws the "ArgumentException: invalid utf-16 sequence at 6274000 (missing surrogate tail)" error instead when Emoji are deleted.

Comments (1)

  1. 6c96a88cb47115d711529072626f1b26?d=mm

    YoungXi

    Jun 15, 2018 06:40

    why this issue is marked with WON'T FIX? How to walk around this issue then?

All about bugs

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