Is OnPythonInitialized working?

Hi,

I’m trying to do some extra setup right after the Python Plugin is initialized.

Here’s how I’m doing when starting my module:

static void RunSetupScript() {
	UE_LOG(LogTemp, Log, TEXT("I'm here bro"));
}


void FPythonLibModule::StartupModule()
{
	IPythonScriptPlugin::Get()->OnPythonInitialized().AddStatic(RunSetupScript);
}

However, I never get the notification that the Python Script plugin is initialized. I was wondering if this is a bug or I’m doing something wrong.

Thank you!