GetOverlappingActors not working

I am attempting to show what actors are within my ParallaxTrigger with GetOverlappingActors. What am I doing wrong?

My ‘ParallaxTrigger’ variable is a UBoxComponent attached to the player

if (GetWorld()->GetFirstPlayerController()->GetCharacter()->GetVelocity() != FVector(0.0f, 0.0f, 0.0f))
		TArray <AActor*> OverlappingActors;


		for (AActor* Actor : OverlappingActors)
			UE_LOG(LogTemp, Warning, TEXT("%s Has a Parallax Componenet"), *Actor->GetName());

All I can suggest is checking the collision settings of ‘ParallaxTrigger’ to ensure it’s actually sweeping something.

Iv’e triple checked the collision settings, doesn’t seem to be the problem. Any other takers?

Can anyone help me out? Still no luck so far. It works fine when I do the same thing in blueprint.

You have to be specific, what do you mean by ’ GetOverlappingActors not working’? You should inspect every variables involved. or probably dump their content in the log.