For some systems I’m testing, I spawn a UWorld
and some AActor
s. After the test, do I need to destroy everything? What is best practice?
I thought about using something like
NUTNet::MarkUnitTestWorldForCleanup(World, true);
NUTNet::CleanupUnitTestWorlds();
but that has given me some other problems.