/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Blueprint/StateTreeTaskBlueprintBase.h
Called during State Tree compilation, allows to modify and validate the node and instance data. The method is called with node and instance that is duplicated during compilation and used at runtime (it's different than the data used in editor).
Validation result based on if the validation succeeded or not. Returning Invalid will fail compilation and messages will be displayed as errors.
virtual EDataValidationResult Compile ( [FStateTreeDataView](API\Plugins\StateTreeModule\FStateTreeDataView) InstanceDataView, [TArray](API\Runtime\Core\Containers\TArray)< [FText](API\Runtime\Core\Internationalization\FText) > & ValidationMessages )