Is there a Blueprint compile event?

There is, in fact, events for Blueprint PreCompile, Compiled, and Reinstanced.

They exist on the GEditor object, so you can look at AIGraphTypes.cpp for an example on how they have it setup:

	GEditor->OnBlueprintCompiled().AddRaw(this, &FGraphNodeClassHelper::InvalidateCache);
2 Likes