Search Issue Tracker

Fixed in 2018.2.19f1

Fixed in 2018.2.X, 2018.3.X

Votes

0

Found in

2018.1.0a6

2018.2.0a1

2018.2.10f1

2018.3.0a1

2019.1.0a1

Issue ID

1087594

Regression

No

[IL2CPP] Text get corrupted when creating windows dialog using charset.Auto with simplified Chinese

IL2CPP

-

How to reproduce:
1. Open user's attached project "BugTest.zip"
2. Enter the play mode
3. Click on the white space "Choost a file"
4. After Windows file selection dialog has popped out, pay attention to file filter field
5. Now exit play mode and build the scene for windows on IL2CPP backend
6. Launch build and click on white space again

Expected result: windows file selection is created with the same filter field/ name/ title
Actual result: filter field/name/ title gets corrupted.

Reproducible with: 2018.1.0a6, 2018.1.9f2, 2018.2.16f1, 2018.3.0b10, 2019.1.0a9
Could not test with: 2018.1.0a5 or lower (there was no windows-IL2CPP backend)

Note: everything works fine if you are using Latin characters and change Charset.Auto to Charset.Unicode

  1. Resolution Note (fix version 2018.2.19f1):

    IL2CPP did not support CharSet.Auto properly for field marshaling. Use CharSet.Unicode manually to work around this issue until is it corrected.

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.