diff --git a/Assets/Mirror/Tests/Editor/NetworkIdentitySerializationTests.cs b/Assets/Mirror/Tests/Editor/NetworkIdentitySerializationTests.cs index 2ae0ac4eb..245c12868 100644 --- a/Assets/Mirror/Tests/Editor/NetworkIdentitySerializationTests.cs +++ b/Assets/Mirror/Tests/Editor/NetworkIdentitySerializationTests.cs @@ -17,6 +17,15 @@ public override void SetUp() base.SetUp(); ownerWriter = new NetworkWriter(); observersWriter = new NetworkWriter(); + + NetworkServer.Listen(1); + ConnectClientBlockingAuthenticatedAndReady(out _); + } + + [TearDown] + public override void TearDown() + { + base.TearDown(); } // serialize -> deserialize. multiple components to be sure.