diff --git a/Assets/Mirror/Weaver/Weaver.cs b/Assets/Mirror/Weaver/Weaver.cs index b878d1003..abd8436a2 100644 --- a/Assets/Mirror/Weaver/Weaver.cs +++ b/Assets/Mirror/Weaver/Weaver.cs @@ -68,7 +68,6 @@ class Weaver public static TypeReference IEnumeratorType; public static TypeReference ClientSceneType; - public static MethodReference FindLocalObjectReference; public static MethodReference ReadyConnectionReference; public static TypeReference ComponentType; @@ -1137,7 +1136,6 @@ static void SetupTargetTypes() ComponentType = m_UnityAssemblyDefinition.MainModule.GetType("UnityEngine.Component"); ClientSceneType = m_UNetAssemblyDefinition.MainModule.GetType("Mirror.ClientScene"); - FindLocalObjectReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "FindLocalObject"); ReadyConnectionReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "get_readyConnection"); // get specialized GetComponent()