Parameter signature of UGameplayStatics::GetAllActorsOfClass()
(const UObject* WorldContextObject, TSubclassOf<AActor> ActorClass, TArray<AActor*>& OutActors)
OutActors has to be TArray<AActor*>.
Parameter signature of UGameplayStatics::GetAllActorsOfClass()
(const UObject* WorldContextObject, TSubclassOf<AActor> ActorClass, TArray<AActor*>& OutActors)
OutActors has to be TArray<AActor*>.