If you get error with main menu constructor

get error with" ‘UUserWidget’: no appropriate default constructor available"

you should specifically call the constructor that the class you inherited :
UMainMenu::UMainMenu(const FObjectInitializer& ObjectInitializer) : UUserWidget(ObjectInitializer)

1 Like

Thanks for sharing the tip. This is really good to know.

Thanks It worked with your code.