diff --git a/Assets/Raindrop/Core/Media/MediaObject.cs b/Assets/Raindrop/Core/Media/MediaObject.cs index 887a855..c59a668 100644 --- a/Assets/Raindrop/Core/Media/MediaObject.cs +++ b/Assets/Raindrop/Core/Media/MediaObject.cs @@ -251,7 +251,9 @@ namespace Raindrop.Media /// /// /// - protected RESULT DispatchEndCallback( + /// We changed this to static, in hope that it will fix that nasty IL2cpp does not support marshalling runtime error + [AOT.MonoPInvokeCallback(typeof(CHANNELCONTROL_CALLBACK))] + protected static RESULT DispatchEndCallback( IntPtr channelraw, CHANNELCONTROL_TYPE controltype, CHANNELCONTROL_CALLBACK_TYPE type,