OnComponentEndOverlap.AddDynamic dont work

hi all,

i dont understand why my OnComponentEndOverlap.AddDynamic doesn’t work.

ColisionBox->OnComponentEndOverlap.AddDynamic(this, &AElectricityWall::MakeWallSolidTrigger);
ColisionBox->OnComponentBeginOverlap.AddDynamic(this, &AElectricityWall::MakeWallSolidTrigger);

And :

void AElectricityWall::MakeWallSolidTrigger(class AActor * OtherActor, class UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult & SweepResult)

OnComponentBeginOverlap works fine but not OnComponentEndOverlap .

You are using wrong function signature for end overlap, You have to specify something like this:

void AElectricityWall::MakeWallSolidTriggerEndOverlap(class AActor * OtherActor, class UPrimitiveComponent* OtherComp, int32 OtherBodyIndex)


/** Delegate for notification of end of overlap of a specific component */
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams( FComponentEndOverlapSignature, class AActor*, OtherActor, class UPrimitiveComponent*, OtherComp, int32, OtherBodyIndex);

This works ! thanks !