NotImplementedException: Unknown wire type: 7

Hi, everyone

 

From time to time, my players are facing the issue: some of them are kicked (2-6 players at once), with this callstack:

31.185.12.156:51457/76561198048313322/Aleksander disconnecting: NotImplementedException: Unknown wire type: 7 SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) Client.OnEntities (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Client.OnNetworkMessage (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Facepunch.Network.Raknet.Client.HandleMessage () (at <1b7a2c1e920b4ff8b84007bd4392845c>:0) UnityEngine.Debug:LogException(Exception) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update() Version: 33214

176.59.42.97:44627/76561198242344074/anya.2micro disconnecting: ProtocolBufferException: Got larger VarInt than 32bit unsigned SilentOrbit.ProtocolBuffers.ProtocolParser.ReadUInt32 (System.IO.Stream stream) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) SilentOrbit.ProtocolBuffers.ProtocolParser.ReadKey (System.Byte firstByte, System.IO.Stream stream) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) Client.OnEntities (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Client.OnNetworkMessage (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Facepunch.Network.Raknet.Client.HandleMessage () (at <1b7a2c1e920b4ff8b84007bd4392845c>:0) UnityEngine.Debug:LogException(Exception) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update() Version: 33214

188.19.166.167:2247/76561198831636225/koshka disconnecting: NotImplementedException: Unknown wire type: 6 SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at <42498d6fa0484b0c8b34bf725c9e6ced>:0) Client.OnEntities (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Client.OnNetworkMessage (Network.Message packet) (at <7535ef40ff004d3b993378df9c8f2c2e>:0) Facepunch.Network.Raknet.Client.HandleMessage () (at <1b7a2c1e920b4ff8b84007bd4392845c>:0) UnityEngine.Debug:LogException(Exception) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update() Version: 33214

I guess that it's somehow related to protocol issues, what could it be, and does anyone else face this or similar issue?

I run my server under ubuntu 16.04. And yes, I have bunch of plugins. Scenario is unknown yet.

Thanks & regards,

Egor.

We've had this issue ongoing with our Rustcord plugin as well, happens randomly when a message is sent into the game via Discord.
Same here with Rustcord / Discord Chat plugins. Ubuntu 18.04.5 LTS
Seems like @MJSU found the solution. After his fix, it looks like these issues are gone.
//OLD code
BroadcastChat(player, FilterText(message.content));​

//Attempt to fix random mass disconnect issues
NextTick(() =>
{
    BroadcastChat(player, FilterText(message.content));
}); ​

What was the solution?? I have the same issue

Developer of plugin that causes the issue need to fix his code according to my message above. You can't fix it by yourself.