Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2017.3.0a1
2017.4.5f1
2017.4.15f1
2018.1.0a1
2018.1.9f2
2018.2.0a1
2018.2.0b9
Issue ID
1083396
Regression
No
IL2CPP ignores CDECL calling convention attribute
Steps to reproduce:
1. Download 1083396_repro.zip project
2. Switch platform to UWP
3. Build project on IL2CPP backend
4. Open Visual Studio solution
5. Search in the entire solution for "DelegatePInvokeWrapper_AiFileCloseProc" method
Expected results: P/Invoke is call with CDECL attribute
Actual results: P/Invoke is call with STDCALL attribute
Reproduced with: 2018.1.9f2, 2017.4.15f1
Not reproducible with: 2018.1.0a8, 2018.3.0b9, 2018.2.16f1, 2018.2.0b10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment