diff --git a/Assets/Mirror/Runtime/NetworkBehaviour.cs b/Assets/Mirror/Runtime/NetworkBehaviour.cs index 8f23c2823..4988f0bf0 100644 --- a/Assets/Mirror/Runtime/NetworkBehaviour.cs +++ b/Assets/Mirror/Runtime/NetworkBehaviour.cs @@ -470,7 +470,7 @@ public static CmdDelegate GetDelegate(int cmdHash) // helper function for [SyncVar] GameObjects. [EditorBrowsable(EditorBrowsableState.Never)] - protected bool SyncVarGameObjectEqual(GameObject newGameObject, uint netIdField) + internal bool SyncVarGameObjectEqual(GameObject newGameObject, uint netIdField) { uint newNetId = 0; if (newGameObject != null)