From 5ba53185f296d3a93e842bb5a50d19f5b6d87e81 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 2 Feb 2022 11:54:31 +0800 Subject: [PATCH] Tests: SerializeAndDeserializeObjectsDelta doesn't rely on host mode anymore --- Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs b/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs index 8c0af29e0..058a831d6 100644 --- a/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs +++ b/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs @@ -827,9 +827,10 @@ public void SerializeAndDeserializeObjectsDelta() // SyncLists are only set dirty while owner has observers. // need a connection. NetworkServer.Listen(1); - ConnectHostClientBlockingAuthenticatedAndReady(); + ConnectClientBlockingAuthenticatedAndReady(out _); - CreateNetworkedAndSpawn(out GameObject _, out NetworkIdentity _, out NetworkBehaviourWithSyncVarsAndCollections comp); + CreateNetworkedAndSpawn(out _, out _, out NetworkBehaviourWithSyncVarsAndCollections comp, + out _, out _, out _); // add to synclist comp.list.Add(42);