Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.12k stars 430 forks source link

[Netcode] Received a packet with an invalid Hash Value. Please report this to the Netcode for GameObjects team #2688

Open anningning opened 1 year ago

anningning commented 1 year ago

[Netcode] Received a packet with an invalid Hash Value. 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: Received Hash: 6209732060440105817, Calculated Hash: 17413950154856708257, Offset: 4, Size: 204, Full receive array: cc 00 00 00 60 11 00 00 cc 00 00 00 59 13 e3 8c 68 66 2d 56 01 00 00 00 00 00 00 00 09 8a 05 02 01 7d 9a e2 a5 01 b2 36 17 b3 01 46 c4 ca 04 01 39 3b e8 2c 01 ab c9 50 60 01 53 a3 38 44 01 d3 f6 1c b8 01 a6 22 89 97 01 b5 fe 01 74 01 be 97 be 73 01 9d 9a 5c 01 01 e9 51 97 17 01 8a f7 e7 83 01 42 7f 88 c6 01 97 a3 f5 46 01 00 00 00 00 01 f0 b3 95 9c b3 0f 1c a8 53 00 00 00 7b 22 75 69 64 22 3a 22 33 37 37 33 35 38 34 31 30 37 34 38 33 38 34 30 22 2c 22 72 6f 6c 65 49 64 22 3a 22 31 36 39 33 39 30 39 34 32 34 36 31 34 38 35 34 36 35 36 22 2c 22 72 6f 6f 6d 49 64 22 3a 33 39 39 31 32 37 36 34 34 36 31 38 37 33 34 39 7d

fluong6 commented 1 year ago

Hi @anningning, thank you for letting us know about this issue. To better understand the nature of the issue, kindly provide us with the reproduction steps. Also, which packets transport do you use in your project?

If ​the ​problem ​is ​related ​to ​anything ​specific ​to ​your ​Project, can you also ​upload ​a sample of ​Project ​folder ​to ​solve ​the issue. Please follow the instruction of the link below to attach the sample project: https://unity.com/releases/editor/qa/bug-reporting

ShadauxCat commented 2 months ago

com.unity.transport version 2.3.0 has released today that I think should have a fix for this issue. A new release for the 1.x line of com.unity.transport should be out soon as well, I'll post again when that is out in case you can't or don't want to update to 2.3.0.

Can you retest and confirm for us?