Is there any reason to set this up as below using if(Actor) to make sure there are no nullptrs?
for (AActor* Actor : Actors)
{
if (Actor)
{
FString ActorName = Actor->GetActorNameOrLabel();
UE_LOG(LogTemp, Display, TEXT(“Overlapping Actor: %s”), *ActorName);
}
}