Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

_il2cpp_pinvoke_func() crash on iOS 8

$
0
0
I'm getting this crash when running on iOS 8 devices. However it works on iOS 9.

//Unity Script
[DllImport("__Internal")]private static extern void Test_Init();

//Xcode
extern"C" {voidDEFAULT_CALL Test_Init();}


extern"C" void Test_Init_m4100927712 (Il2CppObject * __this /* static, unused */, constMethodInfo* method)
{
typedefvoid (DEFAULT_CALL *PInvokeFunc) ();
staticPInvokeFunc _il2cpp_pinvoke_func;
if (!_il2cpp_pinvoke_func)
{
_il2cpp_pinvoke_func = (PInvokeFunc)Test_Init;
if...

_il2cpp_pinvoke_func() crash on iOS 8

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>