You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide more information to the user about usage of MonoPInvokeCallback (#82653)
Unity's IL2CPP accepts a MonoPInvokeCallback constructor without any argument. When porting interop code from Unity's IL2CPP to Mono AOT this gives a hint to the user about what they need to fix.
g_warning ("AOT restriction: The attribute [MonoPInvokeCallback] used on method '%s' must take a System.Type argument. See https://docs.microsoft.com/xamarin/ios/internals/limitations#reverse-callbacks",
5212
+
mono_method_full_name (method, TRUE));
5213
+
exit (1);
5214
+
}
5212
5215
5213
5216
/*
5214
5217
* Decode the cattr manually since we can't create objects
0 commit comments