Skip to content

Commit 218a647

Browse files
authored
fix: make ClientConfig version signed (#3150)
1 parent d7df73b commit 218a647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.netcode.gameobjects/Runtime/Messaging/Messages/ConnectionRequestMessage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ namespace Unity.Netcode
88
internal struct ClientConfig : INetworkSerializable
99
{
1010
public SessionConfig SessionConfig;
11-
public uint SessionVersion => SessionConfig.SessionVersion;
11+
public int SessionVersion => (int)SessionConfig.SessionVersion;
1212
public uint TickRate;
1313
public bool EnableSceneManagement;
1414

1515
// Only gets deserialized but should never be used unless testing
16-
public uint RemoteClientSessionVersion;
16+
public int RemoteClientSessionVersion;
1717

1818
public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
1919
{

0 commit comments

Comments
 (0)