Skip to content

Commit 66e6483

Browse files
committed
Switched TransportRpc to use the Out-Of-Band RPC pipeline
1 parent 8bc8800 commit 66e6483

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
@@ -14,7 +14,7 @@
1414

1515
namespace Unity.Netcode.Unified
1616
{
17-
internal struct TransportRpc : IRpcCommand, IRpcCommandSerializer<TransportRpc>
17+
internal struct TransportRpc : IOutOfBandRpcCommand, IRpcCommandSerializer<TransportRpc>
1818
{
1919
public FixedList4096Bytes<byte> Buffer;
2020
public ulong Order;
@@ -216,7 +216,7 @@ public override unsafe void Send(ulong clientId, ArraySegment<byte> payload, Net
216216
rpc.Buffer.Length = amount;
217217
rpc.Order = ++connectionInfo.LastSent;
218218

219-
connectionInfo.Connection.SendMessage(rpc);
219+
connectionInfo.Connection.SendOutOfBandMessage(rpc);
220220

221221
connectionInfo.SendQueue.Consume(amount);
222222
}

0 commit comments

Comments
 (0)