Players kicked with NotImplementedException: Unknown wire type

 

Machine™ disconnecting: Exception (cs:54487): NotImplementedException: Unknown wire type: 3 SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at <00000000000000000000000000000000>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at <00000000000000000000000000000000>:0) ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at <00000000000000000000000000000000>:0) Client.OnEntities (Network.Message packet) (at <00000000000000000000000000000000>:0) Client.OnNetworkMessage (Network.Message packet) (at <00000000000000000000000000000000>:0) Facepunch.Network.Raknet.Client.HandleMessage () (at <00000000000000000000000000000000>:0) Facepunch.Network.Raknet.Client.Cycle () (at <00000000000000000000000000000000>:0) Client.Update () (at <00000000000000000000000000000000>:0) UnityEngine.Debug:LogException(Exception) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update()
kicks players from the server
This error occurs when a player is disconnected from the server or kicked.
yes we know and i provided a solution
I've switched to the new -swnet and haven't had any problems since, been a few days now.
5c5339bb3cef3.png JimDeadlock
I've switched to the new -swnet and haven't had any problems since, been a few days now.

Sorry, switched to the new -swnet ? Whats that a swnet?

I have the same problem I've tried everything and it hasn't solved it yet

To switch to the new steam networking protocol, add these 2 items to your startup:

-swnet
+queryport 12345

Raknet uses the same port number for both the game and the queryport, swnet needs separate ports - don't forget to add port forwarding for the queryport if necessary.

Over the several months I've been using swnet I've found it to be much more reliable than raknet - having everyone kicked off all the time is a thing of the past.

What file do I put this in?

These are startup parameters so it varies depending on your type of server installation.