UFUNCTION(BlueprintCallable, Category = “MyFruit”)
static TMap<int32, FString> GetFruit();
error : In MyBlueprintFunctionLibrary: Unrecognized type ‘TMap’.
Why the type ‘TMap’ cannot be recognized?
UFUNCTION(BlueprintCallable, Category = “MyFruit”)
static TMap<int32, FString> GetFruit();
error : In MyBlueprintFunctionLibrary: Unrecognized type ‘TMap’.
Why the type ‘TMap’ cannot be recognized?
Not sure how integrated the TMap is, in 4.8 but it maybe you can try static void GetFruit( TMap< int32, FStiring >& FruitMap ); instead?
I’m not currently able to test this myself. I know TMap has more support as noted in the 4.8 changelog but I don’t know if it’s 100% supported yet.