LiteNetLib icon indicating copy to clipboard operation
LiteNetLib copied to clipboard

ReliableChannel.ProcessAck() reports a bunch of [PA]False acks as soon as you start sending data

Open domenico-barbieri opened this issue 1 year ago • 1 comments

After stating a connection like this:

            _netClient = new NetManager(this)
            {
                UnconnectedMessagesEnabled = false,
                UpdateTime = 15,
                AutoRecycle = true,
                UnsyncedDeliveryEvent = true,
                UnsyncedReceiveEvent = true
            };

            _constantsUDPAuthKey = constantsUDPAuthKey;
            _netClient.Start();
            _netClient.Connect(_url, _port, constantsUDPAuthKey)

the first 64 acks I receive are reported as false acks and so the PacketLoss statistic has a spike.

Library version: release version (1.2.0)

Framework: Unity,

OS: Windows

domenico-barbieri avatar Oct 23 '24 12:10 domenico-barbieri

the side effect of this is that the application thinks there is packet loss when there is none in theory. So I wonder @RevenantX if the stats should be aware of these "false acks"

sebas77 avatar Nov 01 '24 10:11 sebas77