From 22eb507ed2abd2b9591572fecdba82e65172dd96 Mon Sep 17 00:00:00 2001 From: Fabian Stoll Date: Thu, 7 Nov 2024 13:57:50 +0100 Subject: [PATCH] fix: try fixing failing android test --- Assets/Tests/Runtime/ConnectionManagementTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Tests/Runtime/ConnectionManagementTests.cs b/Assets/Tests/Runtime/ConnectionManagementTests.cs index ec75ae46f..bedd7ad5c 100644 --- a/Assets/Tests/Runtime/ConnectionManagementTests.cs +++ b/Assets/Tests/Runtime/ConnectionManagementTests.cs @@ -150,7 +150,7 @@ protected override IEnumerator OnTearDown() m_ClientScopes[i].Dispose(); } - foreach (var sceneGameObject in Object.FindObjectsByType(FindObjectsSortMode.None)) + foreach (var sceneGameObject in Object.FindObjectsByType(FindObjectsSortMode.InstanceID)) { Object.DestroyImmediate(sceneGameObject); }