So I have a box component on an actor which I’m using as a trigger volume. However the overlap events are behaving incorrectly for the standalone build. As shown in these gifs, showing OnBeginOverlap
Here in PIE the overlap event prints all of the actors spawned in the tile as well as the Player when he enters, which is the intended behavior
https://gfycat.com/AnchoredRequiredBalloonfish
Here in the standalone version only the tile itself and the starting platform are printed
https://gfycat.com/FamousWatchfulAmericanrobin
I’ve tested this on 4.15.3 and it appears to act the same. For completeness here is all code and blueprint related to the BoxComponent
Header:
UPROPERTY(VisibleDefaultsOnly)
UBoxComponent* BoundsVolume;
Constructor:
BoundsVolume = CreateDefaultSubobject<UBoxComponent>(TEXT("Bounds Volume"));
BoundsVolume->SetupAttachment(RootComponent);
BoundsVolume->SetCollisionProfileName(TEXT("Trigger"));
BeginPlay:
BoundsVolume->OnComponentBeginOverlap.AddDynamic(this, &ATile::OnBoundsBeginOverlap);
BoundsVolume->OnComponentEndOverlap.AddDynamic(this, &ATile::OnBoundsEndOverlap);
BP just printing the names: