diff --git a/Mirror/Weaver/Helpers.cs b/Mirror/Weaver/Helpers.cs index d69735dfc..7d1a328f5 100644 --- a/Mirror/Weaver/Helpers.cs +++ b/Mirror/Weaver/Helpers.cs @@ -112,7 +112,7 @@ public static ReaderParameters ReaderParameters(string assemblyPath, IEnumerable assemblyResolver = new DefaultAssemblyResolver(); var helper = new AddSearchDirectoryHelper(assemblyResolver); helper.AddSearchDirectory(Path.GetDirectoryName(assemblyPath)); - helper.AddSearchDirectory(Helpers.UnityEngineDLLDirectoryName()); + helper.AddSearchDirectory(UnityEngineDLLDirectoryName()); helper.AddSearchDirectory(Path.GetDirectoryName(unityEngineDLLPath)); helper.AddSearchDirectory(Path.GetDirectoryName(unityUNetDLLPath)); if (extraPaths != null)