Problem with UWidgetBlueprintFactory

Can you check with the “UMGEditor” dependency module as well?