It’s a linker error. You need to add “UMG” as a module dependency in your MyProject.Build.cs file.
You also don’t need all the includes posted above. All you need is “Blueprint/UserWidget.h”
It’s a linker error. You need to add “UMG” as a module dependency in your MyProject.Build.cs file.
You also don’t need all the includes posted above. All you need is “Blueprint/UserWidget.h”