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.MtuDiscoverytotrue - Add optional argument max processed events into
PollEventsandManualReceive(fix #528) - Add methods to serialize and deserialize array of nested
INetSerializableintoNetDataReader/Writer - Add
GUIDserialization toNetDataWriter/ReaderandNetSerializer/NetPacketProcessor - Add
SendUnconnectedMessagewithReadOnlySpanargument - Add
NetDataWriter.AsReadOnlySpan() - Add
GetRemainingBytesMemorymethod toNetDataReader.(fix #560) - Make PeerTimers and ElapsedMilliseconds as float (fix #521)
- Improve
NetDataWriter/Readerstrings. - Add
PutLargeString(with int size) andGetLargeStringintoNetDataWriter/Reader - Fix
ObjectDisposedExceptionwith 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