Download

UFUNCTION metadata "ExpandEnumAsExecs" and "Latent" interrupt each other?

Using 4.20.3

While coding in my** Game Instance** class and exposing functions to blueprint I encountered the following…

No matter what i do when assigning “ExpandEnumAsExecs” and “Latent” metadate to UFUNCTION the execution pins not firing.

Is that a feature or a bug?

My function declaration:

They are firing when I use this:


    
UFUNCTION(BlueprintCallable, Category = "MyFunctions", meta = (ToolTip = "MyToolTip", ExpandEnumAsExecs = "Branches"))
        void MyFunction(bool bSomeVar, int32 AnotherVar, EStatusEnum& Branches);


They are NOT firing when I use this:


    
UFUNCTION(BlueprintCallable, Category = "MyFunctions", meta = (ToolTip = "MyToolTip", ExpandEnumAsExecs = "Branches", Latent))
        void MyFunction(bool bSomeVar, int32 AnotherVar, EStatusEnum& Branches);


My EStatusEnum is:



UENUM(BlueprintType)
enum class EStatusEnum : uint8
{
    OnSuccess,
    OnFail
};


Help will be appreciated, thanks.