Overlap Begin/End not working

I’ve added additional capsule component to detect overlapping

but when I start game in following case overlapping not working

Did i forget to switch some flags?

From what I know you also need to turn on “overlap all” and generate overlap events for the object you are trying to overlap with, in this case the box brush. Are you sure its on ?

I’m setting collision profile to “OverlapAll” so i thing it is turned on

Are you referring to the capsule component or the box brush placed in the scene ?

capsule collider - only there i set up the profile. Box brush stays unchanged

Did you try turning on the overlap events for the Box brush as well and still see the same behavior ?

We haven’t heard back from you in a while, so i’m marking this question as resolved. If you still have problems after that long time, feel free to reopen the question (:

Im getting the exact same problem. Both items have generateOverlapEvents set to true. It refuses to even enter the bound function.
I cannot figure out why?

GetCapsuleComponent()->InitCapsuleSize(42.f, 96.0f);
GetCapsuleComponent()->bGenerateOverlapEvents = true;
GetCapsuleComponent()->OnComponentBeginOverlap.AddDynamic(this, &ATheTowerCharacter::OnOverlapBegin);
UE_LOG(LogClass, Log, TEXT("OverlapEvent"));

You have to put UFUNCTION() in the header file for the OnOverlapBegin function.