Skip to content

Commit f9ba5c1

Browse files
Ruo-Ping Dongmaryamhonari
Ruo-Ping Dong
authored andcommitted
Fix test failures on trunk with input system 1.1.1 (#5542)
1 parent 8506022 commit f9ba5c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActuatorComponentTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ public override void Setup()
4949
public override void TearDown()
5050
{
5151
m_ActuatorComponent.CleanupActionAsset();
52+
var objects = GameObject.FindObjectsOfType<GameObject>();
53+
foreach (var o in objects)
54+
{
55+
UnityEngine.Object.DestroyImmediate(o);
56+
}
5257
base.TearDown();
5358
}
5459

0 commit comments

Comments
 (0)