I’m trying to write a plugin that iterates all of actors which are spawned by host project during runtime.
Following line of code returns only the actors that are dropped before hitting play button since it’s static function.
**static void IterateActors(UWorld* Context, TArray<Actors*> &OutActors); **
The class used is
. Is there anyway to read dynamically spawned actors via plugin code.
I referred many tutorials, but none of them gives more clarity.
Any help is greatly appreciated. Thanks in advance…