Search Issue Tracker

Fixed in 2019.3.X

Votes

1

Found in

2018.3.0a1

2019.1.0a1

2019.1.6f1

2019.2.0a1

2019.3.0a1

Issue ID

1162547

Regression

No

[IL2CPP] Player crashes when calling user32.dll function ToUnicode

IL2CPP

-

Steps to reproduce:
1. Download attached project
2. Build project for Standalone IL2CPP
3. Launch player

Results: Player crashes

Reproduced with: 2019.3.0a6, 2019.2.0b6, 2019.1.0f7, 2018.4.2f2

Note:
- Not reproducible in Editor and mono backend

========== OUTPUTTING STACK TRACE ==================

0x00007FFDCF4D1531 (USER32) ToUnicode
0x00007FFD7E3B8B87 (GameAssembly) [c:\users\USER_NAME\downloads\case_1162547-tounicodebug\temp\stagingarea\data\il2cppoutput\assembly-csharp.cpp:454] ToUnicodeBug_Start_mB4BDBCA17BBBC3F565D831ABD093C0CEE0275AD7
0x00007FFD7E00BF6C (GameAssembly) [c:\users\USER_NAME\downloads\case_1162547-tounicodebug\temp\stagingarea\data\il2cppoutput\il2cppinvokertable.cpp:11931] RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017
0x00007FFD7E07BF89 (GameAssembly) [d:\unity\2019.1\2019.1.7f1\editor\data\il2cpp\libil2cpp\vm\runtime.cpp:542] il2cpp::vm::Runtime::Invoke
0x00007FFD7F9B8556 (UnityPlayer) UnityMain
0x00007FFD7F9C7FF7 (UnityPlayer) UnityMain
0x00007FFD7F9CF512 (UnityPlayer) UnityMain
0x00007FFD7F9CF5AE (UnityPlayer) UnityMain
0x00007FFD7F9CDAA9 (UnityPlayer) UnityMain
0x00007FFD7F77CBFC (UnityPlayer) UnityMain
0x00007FFD7F8B6597 (UnityPlayer) UnityMain
0x00007FFD7F8B6639 (UnityPlayer) UnityMain
0x00007FFD7F8B8622 (UnityPlayer) UnityMain
0x00007FFD7F6836C5 (UnityPlayer) PAL_Memory_Free
0x00007FFD7F6822AA (UnityPlayer) PAL_Memory_Free
0x00007FFD7F686437 (UnityPlayer) PAL_Memory_Free
0x00007FFD7F689D9B (UnityPlayer) UnityMain
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7977111F2)
0x00007FF7977111F2 (ToUnicodeBug) (function-name not available)
0x00007FFDCEDF7974 (KERNEL32) BaseThreadInitThunk
0x00007FFDD00FA271 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

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.