Tags: menevis/Mirror
Tags
breaking: Removed old Unity 2018 / 2019_3 compiler defines (MirrorNet… …working#3397) - we only suppport Unity 2019.4.40 and later LTS releases. BREAKING: Removed old 2018 / 2019 compiler defines
fix: kcp2p V1.30 (MirrorNetworking#3391) - fix: set send/recv buffer sizes directly instead of iterating to find the limit. fixes: MirrorNetworking#3390 - fix: server & client sockets are now always non-blocking to ensure main thread never blocks on socket.recv/send. Send() now also handles WouldBlock. - fix: socket.Receive/From directly with non-blocking sockets and handle WouldBlock, instead of socket.Poll. faster, more obvious, and fixes Poll() looping forever while socket is in error state. fixes: MirrorNetworking#2733
fix: NetworkBehaviour SyncVar uses netId lookup (MirrorNetworking#3386) * fix: NetworkBehaviour SyncVar uses netId lookup Not only types derived from NetworkBehaviour Fixes MirrorNetworking#2939 * Update Assets/Mirror/Editor/Weaver/Extensions.cs * Update Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs * Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs * Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs * Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs * Update Assets/Mirror/Editor/Weaver/Readers.cs * Update Assets/Mirror/Editor/Weaver/Writers.cs --------- Co-authored-by: mischa <[email protected]>
perf: Use static generic class to cache message id (MirrorNetworking#… …3381) * perf: Use static generic class to cache message id we can (ab)use c# generics to cache the message id in a static field this is significantly faster than doing a runtime Dictionary lookup in my testing (16% thread cpu-> ~0.22% for 121 moving nts) generic classes have separate static fields per type specification, so we can store things per-type there, exactly what we need! * Obsolete NetworkMessages.GetId * Update Assets/Mirror/Core/NetworkMessages.cs * Copy comment from GetId up to the Id field * wording --------- Co-authored-by: MrGadget <[email protected]>
perf: Cache Stable Hashes (MirrorNetworking#3377) * perf: Cache Stable Hashes - Static dictionary of message hashes - ResetStatics * Added debug log for future debugging. * Update Extensions.cs --------- Co-authored-by: mischa <[email protected]>
PreviousNext