diff --git a/Mirror/Weaver/Weaver.cs b/Mirror/Weaver/Weaver.cs index 5caac2f96..ef7d3814a 100644 --- a/Mirror/Weaver/Weaver.cs +++ b/Mirror/Weaver/Weaver.cs @@ -896,10 +896,9 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met // process all references to replaced members with properties //Weaver.DLog(td, " ProcessSiteMethod " + md); - if (md.Name == ".cctor" || md.Name == "OnUnserializeVars") - return; - - if (md.Name.StartsWith("UNet") || + if (md.Name == ".cctor" || + md.Name == "OnUnserializeVars" || + md.Name.StartsWith("UNet") || md.Name.StartsWith("CallCmd") || md.Name.StartsWith("InvokeCmd") || md.Name.StartsWith("InvokeRpc") ||