diff --git a/Facepunch.Steamworks/SteamNetworkingUtils.cs b/Facepunch.Steamworks/SteamNetworkingUtils.cs index 03015b3..8a27b7a 100644 --- a/Facepunch.Steamworks/SteamNetworkingUtils.cs +++ b/Facepunch.Steamworks/SteamNetworkingUtils.cs @@ -233,6 +233,7 @@ namespace Steamworks /// /// 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 ) } );