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
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -202,11 +202,12 @@ public int MaxPacketQueueSize
202
202
set=>m_MaxPacketQueueSize=value;
203
203
}
204
204
205
-
[Tooltip("The maximum size of an unreliable payload that can be handled by the transport.")]
205
+
[Tooltip("The maximum size of an unreliable payload that can be handled by the transport. The memory for MaxPayloadSize is allocated once per connection and is released when the connection is closed.")]
206
206
[SerializeField]
207
207
privateintm_MaxPayloadSize=InitialMaxPayloadSize;
208
208
209
209
/// <summary>The maximum size of an unreliable payload that can be handled by the transport.</summary>
210
+
/// <remarks>The memory for MaxPayloadSize is allocated once per connection and is released when the connection is closed.</remarks>
0 commit comments