diff --git a/Assets/Mirror/Editor/NetworkIdentityEditor.cs b/Assets/Mirror/Editor/NetworkIdentityEditor.cs index b900e34ee..af250af40 100644 --- a/Assets/Mirror/Editor/NetworkIdentityEditor.cs +++ b/Assets/Mirror/Editor/NetworkIdentityEditor.cs @@ -92,14 +92,8 @@ public override void OnInspectorGUI() } } -#if UNITY_2018_3_OR_NEWER if (PrefabUtility.IsPartOfPrefabAsset(m_NetworkIdentity.gameObject)) return; -#else - PrefabType prefabType = PrefabUtility.GetPrefabType(m_NetworkIdentity.gameObject); - if (prefabType == PrefabType.Prefab) - return; -#endif if (m_NetworkIdentity.gameObject.activeSelf && m_NetworkIdentity.netId == 0 && NetworkServer.active) {