Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.2.0f3

Issue ID

979976

Regression

No

string.EndsWith freezes Unity when comparing Chinese/Japanese characters

Scripting

-

Steps to reproduce:
1. Open attached project
2. Find the test menu at the top Menu Bar
3. Click on test1

Expected result: Unity does not freeze
Actual result: Unity freezes

Reproduced with: 5.6.4f1, 2017.1.1f1, 2017.2.0f3, 2018.1.0a7

Note: it does not freeze when comparing Hangul characters
Note2: passing in System.StringComparison.Ordinal to compare by ordinal rules does not result in a freeze either

Update: This is fixed by using the 4.6 Stable mono runtime in 2018.1

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.