File tree Expand file tree Collapse file tree
com.unity.netcode.gameobjects/Editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public class NetworkObjectEditor : UnityEditor.Editor
2020 private bool m_Initialized ;
2121 private NetworkObject m_NetworkObject ;
2222 private bool m_ShowObservers ;
23-
23+
2424 private static readonly string [ ] k_HiddenFields = { "m_Script" } ;
2525
2626 private void Initialize ( )
@@ -32,6 +32,9 @@ private void Initialize()
3232
3333 m_Initialized = true ;
3434 m_NetworkObject = ( NetworkObject ) target ;
35+ #if UNIFIED_NETCODE
36+ m_NetworkObject . UnifiedValidation ( ) ;
37+ #endif
3538 }
3639
3740 /// <inheritdoc/>
Original file line number Diff line number Diff line change 77 "Unity.Services.Relay",
88 "Unity.Networking.Transport",
99 "Unity.Services.Core",
10- "Unity.Services.Authentication"
10+ "Unity.Services.Authentication",
11+ "Unity.NetCode"
1112 ],
1213 "includePlatforms": [
1314 "Editor"
4849 "name": "com.unity.services.multiplayer",
4950 "expression": "0.2.0",
5051 "define": "MULTIPLAYER_SERVICES_SDK_INSTALLED"
52+ },
53+ {
54+ "name": "com.unity.netcode",
55+ "expression": "1.10.1",
56+ "define": "UNIFIED_NETCODE"
57+ },
58+ {
59+ "name": "com.unity.multiplayer.playmode",
60+ "expression": "0.1.0",
61+ "define": "UNITY_MULTIPLAYER_PLAYMODE"
5162 }
5263 ],
5364 "noEngineReferences": false
You can’t perform that action at this time.
0 commit comments