Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
5.4.3f1
Issue ID
915869
Regression
No
[Android] [Mono] DllImport function doesn't receive passed parameters
Steps to reproduce:
1) Download attached project 'unity.zip' and open in Unity
2) In Player Settings, make sure that Scripting Backend is set to Mono2x
3) Build and Run 'BugScene' on a device
Expected result: DllImported function with Mono2x should receive passed parameters just like IL2CPP (check attached image 'IL2CPP.png')
Actual result: DllImported function with Mono2x doesn't receive passed parameters (check attached image 'Mono2x.png')
Reproduced with:
5.4.5p2, 5.5.3p4, 5.6.1p1, 2017.1.0b7, 2017.2.0a1
Devices under test:
Samsung SM G950F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-G71, Build:samsung/dreamltexx/dreamlte:7.0/NRD90M/G950FXXU1AQDG:user/release-keys
HUAWEI EVA L19*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880, Build:HUAWEI/EVA-L19/HWEVA:6.0/HUAWEIEVA-L19/C432B182:user/release-keys
Note: built project with IL2CPP receives passed parameters on both tested devices
Mono crashes on iOS. Tested with 5.4, 5.5, 5.6.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment