2023-07-06 02:09:50.3114 Error System.OverflowException: Arithmetic operation resulted in an overflow.
at ProtoBuf.ProtoReader.TryReadUInt32VariantWithoutMoving(Boolean trimNegative, UInt32& value) in C:\Code\protobuf-net\src\protobuf-net\ProtoReader.cs:line 140
at ProtoBuf.ProtoReader.ReadUInt32Variant(Boolean trimNegative) in C:\Code\protobuf-net\src\protobuf-net\ProtoReader.cs:line 195
at proto_314(Object, ProtoReader)
at ProtoBuf.Meta.TypeModel.DeserializeCore(ProtoReader reader, Type type, Object value, Boolean noAutoCreate)
at ProtoBuf.Meta.TypeModel.Deserialize(Stream source, Object value, Type type, SerializationContext context)
at ET.ProtobufHelper.Deserialize(Type type, Stream stream)
at ET.KChannel.OnRead(MemoryStream memoryStream)
初步分析是发送了超过uint的数值,但是,客户端怎么序列化成功的?
有种可能是客户端和服务端的版本不一致,客户端序列化成功,但服务端无法处理。