com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

Problem when connecting to host

Open adamosnacho opened this issue 1 year ago • 2 comments

[Netcode] A ConnectionRequestMessage was received from the server on the client side. This should not happen. Please report this to the Netcode for GameObjects team at https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues and include the following data: Message Size: 329. Message Content: 02 04 7d 9a e2 a5 01 7d 9a e2 a5 01 7d 9a e2 a5 01 b2 36 17 b3 01 b2 36 17 b3 01 b2 36 17 b3 01 46 c4 ca 04 01 46 c4 ca 04 01 46 c4 ca 04 01 39 3b e8 2c 01 39 3b e8 2c 01 39 3b e8 2c 01 ab c9 50 60 01 ab c9 50 60 01 ab c9 50 60 01 53 a3 38 44 01 53 a3 38 44 01 53 a3 38 44 01 d3 f6 1c b8 01 d3 f6 1c b8 01 d3 f6 1c b8 01 a6 22 89 97 01 a6 22 89 97 01 a6 22 89 97 01 b5 fe 01 74 01 b5 fe 01 74 01 b5 fe 01 74 01 be 97 be 73 01 be 97 be 73 01 be 97 be 73 01 9d 9a 5c 01 01 9d 9a 5c 01 01 9d 9a 5c 01 01 e9 51 97 17 01 e9 51 97 17 01 e9 51 97 17 01 8a f7 e7 83 01 8a f7 e7 83 01 8a f7 e7 83 01 42 7f 88 c6 01 42 7f 88 c6 01 42 7f 88 c6 01 97 a3 f5 46 01 97 a3 f5 46 01 97 a3 f5 46 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 00 00 00 00 01 21 12 b8 00 00 00 00 UnityEngine.Debug:LogError (object) Unity.Netcode.NetworkLog:LogError (string) (at ./Library/PackageCache/[email protected]/Runtime/Logging/NetworkLog.cs:34) Unity.Netcode.NetworkManagerHooks:OnVerifyCanReceive (ulong,System.Type,Unity.Netcode.FastBufferReader,Unity.Netcode.NetworkContext&) (at ./Library/PackageCache/[email protected]/Runtime/Messaging/NetworkManagerHooks.cs:91) Unity.Netcode.NetworkMessageManager:CanReceive (ulong,System.Type,Unity.Netcode.FastBufferReader,Unity.Netcode.NetworkContext&) (at ./Library/PackageCache/[email protected]/Runtime/Messaging/NetworkMessageManager.cs:325) Unity.Netcode.NetworkMessageManager:HandleMessage (Unity.Netcode.NetworkMessageHeader&,Unity.Netcode.FastBufferReader,ulong,single,int) (at ./Library/PackageCache/[email protected]/Runtime/Messaging/NetworkMessageManager.cs:407) Unity.Netcode.NetworkMessageManager:ProcessIncomingMessageQueue () (at ./Library/PackageCache/[email protected]/Runtime/Messaging/NetworkMessageManager.cs:458) Unity.Netcode.NetworkManager:NetworkUpdate (Unity.Netcode.NetworkUpdateStage) (at ./Library/PackageCache/[email protected]/Runtime/Core/NetworkManager.cs:42) Unity.Netcode.NetworkUpdateLoop:RunNetworkUpdateStage (Unity.Netcode.NetworkUpdateStage) (at ./Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:185) Unity.Netcode.NetworkUpdateLoop/NetworkEarlyUpdate/<>c:<CreateLoopSystem>b__0_0 () (at ./Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:208)

When I tried to connect my client to my server it threw this.

adamosnacho avatar Nov 09 '23 19:11 adamosnacho

Hi @adamosnacho, thank you for letting us know about this issue.

To better understand the nature of the issue, can you provide us the transport protocol you are using for your project?

If your project is not using UTP (com.unity.transport), can you try it with UTP and see if you are still encountering this issue?

fluong6 avatar Nov 15 '23 18:11 fluong6

I have the same problem. I'm using the Unity Transport and I've getting a few other errors as well. I posted more info about it over here.

simonmpomom avatar Nov 18 '23 23:11 simonmpomom