Blueprint "event begin play" called before C++ parent's "event begin play"?

Hey Guys,

The blueprint implementation of BeginPlay (AActor::ReceiveBeginPlay) is called from native code in AActor::BeginPlay().

If you want to call Blueprint implementation after the custom native code:

void AQATestActor::BeginPlay()
{
	TestNumber = 3.f;
	GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Cyan, FString::SanitizeFloat(TestNumber));

	Super::BeginPlay();
}

Cheers,
M

3 Likes