I’m trying to use FEditorDelegates::BeginPIE, but it never seems to fire. PostPIEStarted works fine, which leads me to believe this is a bug… I’m calling it from an overridden UGameInstance::Init, as such:
void UTestGameInstance::Init()
{
Super::Init();
#if WITH_EDITOR
FEditorDelegates::BeginPIE.AddUObject(this, &UTestGameInstance::PlayInEditorBegin);
#endif
}
void UTestGameInstance::PlayInEditorBegin(bool bIsSimulating)
{
UE_LOG(LogTemp, Warning, TEXT("BeginPIE"));
}