Changes in 1.3.1
- Fix crash when sending Merged byte without data
- Add .net8 and .net7 targets (and nuget variants) to support specific features
- Remove .net5 target because EOL. You can use .NET Standard for .net5.
Changes in 1.3.0
- Stop running NetManagers in Unity in OnApplicationQuit (when using library source code)
- Disable MTU discovery by default because some routers can break detection and connection in result. Remove
UseSafeMtu
(for this just useMtuOverride
). To enable MTU discovery setNetManager.MtuDiscovery
totrue
- Add optional argument max processed events into
PollEvents
andManualReceive
(fix #528) - Add methods to serialize and deserialize array of nested
INetSerializable
intoNetDataReader/Writer
- Add
GUID
serialization toNetDataWriter/Reader
andNetSerializer
/NetPacketProcessor
- Add
SendUnconnectedMessage
withReadOnlySpan
argument - Add
NetDataWriter.AsReadOnlySpan()
- Add
GetRemainingBytesMemory
method toNetDataReader.
(fix #560) - Make PeerTimers and ElapsedMilliseconds as float (fix #521)
- Improve
NetDataWriter/Reader
strings. - Add
PutLargeString
(with int size) andGetLargeString
intoNetDataWriter/Reader
- Fix
ObjectDisposedException
with Native Sockets (fix #542) - Lock unreliable channel only if there is pending packets
- Unreliable packets optimization
For installation in typical .NET project use nuget package
For Unity use sources zip and copy directory LiteNetLib to your project