Skip to content

Commit 46b5552

Browse files
authored
feat: snapshot, using unreliable packets, now that the underlying foundation supports it. Only merge after #1062 (#1064)
1 parent 428d6e4 commit 46b5552

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/NetworkTransport.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ public TransportChannel[] NETCODE_CHANNELS
104104
// todo: Currently, fragmentation support needed to deal with oversize packets encounterable with current pre-snapshot code".
105105
// todo: once we have snapshotting able to deal with missing frame, this should be unreliable
106106
new TransportChannel(NetworkChannel.NetworkVariable, NetworkDelivery.ReliableSequenced),
107-
new TransportChannel(NetworkChannel.SnapshotExchange, NetworkDelivery.ReliableSequenced), // todo: temporary until we separate snapshots in chunks
108-
107+
new TransportChannel(NetworkChannel.SnapshotExchange, NetworkDelivery.Unreliable),
109108
new TransportChannel(NetworkChannel.Fragmented, NetworkDelivery.ReliableFragmentedSequenced),
110109

111110
};

0 commit comments

Comments
 (0)