diff --git a/Assets/Mirror/Editor/Weaver/Weaver.cs b/Assets/Mirror/Editor/Weaver/Weaver.cs index 5abf0a074..e8ff9832a 100644 --- a/Assets/Mirror/Editor/Weaver/Weaver.cs +++ b/Assets/Mirror/Editor/Weaver/Weaver.cs @@ -113,12 +113,12 @@ void CreateGeneratedCodeClass() // * old takes a filepath, new takes a in-memory byte[] // * old uses DefaultAssemblyResolver with added dependencies paths, // new uses ...? - public bool Weave(AssemblyDefinition asmDef) + public bool Weave(AssemblyDefinition assembly) { WeavingFailed = false; try { - CurrentAssembly = asmDef; + CurrentAssembly = assembly; // fix "No writer found for ..." error // https://github.com/vis2k/Mirror/issues/2579