How to implement mandatory cleanup for the Unity PlayMode tests?

Hi everyone,
Does anybody know how I can define a cleanup method as Mandatory after each test run (even if it fails) for PlayMode tests?

I tried to use nUnit TearDown (SetUp too) but received the following message:

“OneTimeSetUp: Invalid signature for SetUp or TearDown method: CleanUpMethodName”.

Look like nUnit doesn’t work for PlayMode tests. Do you have any other idea how it possible to do?

[SetUp]
private void SetupEnvironmentAndInstantiateBulkConveyorWithLoadRotation()
{
isLoadEnd = true;
EnvironmentSetup();
StraightConveyorInstantiationAndTransform(loadRotation);
}

It’s an NUnit error. Try making the method public.