Skip to content

Commit 2c98801

Browse files
Merge branch 'experimental/v2-x-x/ngo-and-n4e-kitty' into experimental/v2-x-x/ngo-and-n4e-with-poc-transport-merged
2 parents 13cbe71 + 66e6483 commit 2c98801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/Unified/UnifiedNetcodeTransport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Unity.Netcode.Unified
1212
{
1313
[BurstCompile]
14-
internal struct TransportRpc : IRpcCommand, IRpcCommandSerializer<TransportRpc>
14+
internal struct TransportRpc : IOutOfBandRpcCommand, IRpcCommandSerializer<TransportRpc>
1515
{
1616
public FixedList4096Bytes<byte> Buffer;
1717
public ulong Order;
@@ -214,7 +214,7 @@ public override unsafe void Send(ulong clientId, ArraySegment<byte> payload, Net
214214
rpc.Buffer.Length = amount;
215215
rpc.Order = ++connectionInfo.LastSent;
216216

217-
connectionInfo.Connection.SendMessage(rpc);
217+
connectionInfo.Connection.SendOutOfBandMessage(rpc);
218218

219219
connectionInfo.SendQueue.Consume(amount);
220220
}

0 commit comments

Comments
 (0)