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