Unreal — open editor utility widget by C++

You can open any Editor utility widget simply by calling:

The path to the widget is given by FString provided to LoadAsset function. You can find the path by right-clicking any asset and choosing “Copy reference”.

Don’t forget to include the following modules to your PrivateDependencyModuleNames in MyModule.Build.cs

  • Blutility
  • UMGEditor
  • EditorScriptingUtilities