diff --git a/Facepunch.Steamworks/SteamNetworkingUtils.cs b/Facepunch.Steamworks/SteamNetworkingUtils.cs index 03015b31..8a27b7ac 100644 --- a/Facepunch.Steamworks/SteamNetworkingUtils.cs +++ b/Facepunch.Steamworks/SteamNetworkingUtils.cs @@ -233,6 +233,7 @@ struct DebugMessage /// /// This can be called from other threads - so we're going to queue these up and process them in a safe place. /// + [MonoPInvokeCallback] private static void OnDebugMessage( NetDebugOutput nType, IntPtr str ) { debugMessages.Enqueue( new DebugMessage { Type = nType, Msg = Helpers.MemoryToString( str ) } );