We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89ccd3 commit 43e0795Copy full SHA for 43e0795
com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs
@@ -1086,7 +1086,7 @@ internal void InitializeVariables()
1086
{
1087
__rpc_func_table[GetType()] = new Dictionary<uint, RpcReceiveHandler>();
1088
__rpc_permission_table[GetType()] = new Dictionary<uint, RpcInvokePermission>();
1089
-#if UNITY_EDITOR || DEVELOPMENT_BUILD || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE
+#if MULTIPLAYER_TOOLS && (DEVELOPMENT_BUILD || UNITY_EDITOR || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE)
1090
__rpc_name_table[GetType()] = new Dictionary<uint, string>();
1091
#endif
1092
__initializeRpcs();
0 commit comments