Skip to content

Commit 43e0795

Browse files
fix
Missed one set of defines check.
1 parent b89ccd3 commit 43e0795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ internal void InitializeVariables()
10861086
{
10871087
__rpc_func_table[GetType()] = new Dictionary<uint, RpcReceiveHandler>();
10881088
__rpc_permission_table[GetType()] = new Dictionary<uint, RpcInvokePermission>();
1089-
#if UNITY_EDITOR || DEVELOPMENT_BUILD || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE
1089+
#if MULTIPLAYER_TOOLS && (DEVELOPMENT_BUILD || UNITY_EDITOR || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE)
10901090
__rpc_name_table[GetType()] = new Dictionary<uint, string>();
10911091
#endif
10921092
__initializeRpcs();

0 commit comments

Comments
 (0)