Skip to content

Commit 54f7909

Browse files
update
Missed the codegen assembly.
1 parent 8a264ca commit 54f7909

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

com.unity.netcode.gameobjects/Editor/CodeGen/RuntimeAccessModifiersILPP.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private void ProcessNetworkBehaviour(TypeDefinition typeDefinition)
159159
{
160160
fieldDefinition.IsFamilyOrAssembly = true;
161161
}
162-
#if MULTIPLAYER_TOOLS && (DEVELOPMENT_BUILD || UNITY_EDITOR || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE)
162+
#if MULTIPLAYER_TOOLS && (DEBUG || UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE)
163163
if (fieldDefinition.Name == nameof(NetworkBehaviour.__rpc_name_table))
164164
{
165165
fieldDefinition.IsFamilyOrAssembly = true;

0 commit comments

Comments
 (0)