You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: allow the check for a NetworkObject component on NetworkBehaviours to be disabled (Back Port) (#3034)
* update
Add editor UI and additional NGO setting.
* update
Add check to see if we should perform the check for NetworkObject.
* update
Add the changelog entry
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/CHANGELOG.md
+2
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ Additional documentation and release notes are available at [Multiplayer Documen
10
10
11
11
### Added
12
12
13
+
- Added "Check for NetworkObject Component" property to the Multiplayer->Netcode for GameObjects project settings. When disabled, this will bypass the in-editor `NetworkObject` check on `NetworkBehaviour` components. (#3034)
14
+
13
15
### Fixed
14
16
15
17
- Fixed issue where collections v2.2.x was not supported when using UTP v2.2.x within Unity v2022.3. (#3033)
AutoAddNetworkObjectToggle=newNetcodeSettingsToggle("Auto-Add NetworkObject Component","When enabled, NetworkObject components are automatically added to GameObjects when NetworkBehaviour components are added first.",20);
104
105
}
105
106
107
+
if(CheckForNetworkObjectToggle==null)
108
+
{
109
+
CheckForNetworkObjectToggle=newNetcodeSettingsToggle("Check for NetworkObject Component","When disabled, the automatic check on NetworkBehaviours for an associated NetworkObject component will not be performed and Auto-Add NetworkObject Component will be disabled.",20);
0 commit comments