Tags: Mu-L/Mirror
Tags
fix: NetworkWriterTest.cs failing due to Blittable removal (MirrorNet… …working#2530) This commit compliments dd4d344, and makes all tests in NetworkWriterTest.cs pass with flying colours. Gold star!
fix: DisallowMultipleComponent on all transports (MirrorNetworking#2507) Co-authored-by: MrGadget1024 <[email protected]>
fix: prevent allocation of massive array (MirrorNetworking#2465) * fix: prevent allocation of massive array A poison message could contain an invalid length causing us to allocate massive arrays * throw exception instead * Update Assets/Mirror/Runtime/NetworkReader.cs Co-authored-by: James Frowen <[email protected]> * test for ReadArray * swapping order of equation so that length doesnt overflow * adding test case * adding more tests for array length * swapping order * fixing expected message Co-authored-by: James Frowen <[email protected]>
feat: allow types that inherit from Networkbehaviour to be used in sy… …ncvar's (MirrorNetworking#2471) * adding MakeGeneric method * adding tests for NB syncvar+hook * adding functions to NetworkBehaviour * getting references to new functions * fixing NB read so it always reads same number of bytes as write * adding backing field and serialize for Nb Syncvar * extra test * adding ignore to transform test * fixing test
perf(NetworkTransform): removing allocations from Command (MirrorNetw… …orking#2491) `byte[] payload` will cause a new array to be created when parameters are read, using `ArraySegment<byte>` avoids this.
PreviousNext