Subsystem not compiling if I add UFUNCTION()

The module this belongs to is most likely missing UMG as a dependency the Build.cs file.