ESlateVisibility issue

Either you don’t have “UMG” added to your MyProject.build.cs module list, or you aren’t including whatever header defines ESlateVisibility.