Box Collision in Actor

Nope nothing in the bp! and plus if I play it in standalone I can’t see the box while in editor yes. Idk maybe I am missing something :smiley: here’s my code btw

.h
UPROPERTY(BlueprintReadWrite, Category = “Components”)
UBoxComponent* TriggerBox;

UFUNCTION()
void OnOverlapEnd(UPrimitiveComponent* OverlappedComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex);

.cpp
TriggerBox = CreateDefaultSubobject<UBoxComponent>(TEXT(“TriggerBox”));

TriggerBox->OnComponentEndOverlap.AddUniqueDynamic(this, &ACheckpointActor::OnOverlapEnd);

void ACheckpointActor::OnOverlapEnd(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComponent, int32 OtherBodyIndex)
{
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT(“Overlap End”));
}