Editor Utility Widgets Feedback

I am very interested in this feature. I’m trying to get this to work but it crashes the engine! Any guidness is greatly appreciated :slight_smile:

Hi scha, may I ask a question.

I want a functionality to spawn a specific actor at current editor viewport camera position, but could not find a proper way to get that location. Well, you mentioned editor viewport camera position is accessible right? Please tell me how to do that please! Thanks a lot.

I’m trying to write a simple function to open EditorUtilityWidgets. This function is in the EditorModule of my game.


void FMyGameEditorModule::OpenEditorUtilityWidget(FSoftObjectPath ObjectPat)
{
UObject* WigetObject = ObjectPat.TryLoad();
UEditorUtilityWidgetBlueprint* EditorWidget = Cast<UEditorUtilityWidgetBlueprint>(WigetObject);
UEditorUtilitySubsystem* EditorUtilitySubsystem = GEditor->GetEditorSubsystem<UEditorUtilitySubsystem>();
EditorUtilitySubsystem->SpawnAndRegisterTab(EditorWidget);
}

When i try to compile i’m getting this: error LNK2001: unresolved external symbol "private: static class UClass * __cdecl UEditorUtilityWidgetBlueprint::GetPrivateStaticClass(void)"
on this line UEditorUtilityWidgetBlueprint EditorWidget = Cast<UEditorUtilityWidgetBlueprint>(WigetObject);*
Engine version is 4.25.4

Any idea on how to resolve this? Or another way to open UEditorUtilityWidgetBlueprint?

Unfortunately UEditorUtilityWidgetBlueprint is not exported in 4.25 , you will need to update to 4.26 (class BLUTILITY_API UEditorUtilityWidgetBlueprint : public UWidgetBlueprint) to be able to use it in your modules.

1 Like

I’d love for the ability to edit features outside of runtime. For example if I could use Python or Blueprints to access the BP viewport and add/remove components from a content browser asset that would be amazing. Any idea if this is doable or on the roadmap?

I was wondering if there is a way to have a struct displayed in a DetailsView like other var ?

I inherited a new class from ueditorutilitywidget in order to add some additional functions and properties. However, when I created a new editor script and let the editor script inherit to this new class, the editor prompted me that I could not use the editor script function in a class other than editorutilitywidget. This is very strange, My new parent class is obviously inherited from ueditorutilitywidget, but the editor thinks that it doesn’t have the function of ueditorutilitywidget;

Supplement: the new subclass is created by C + +, while the actual script is created by editor script, and then the parent item is changed;

In UE5 EA, the editor scripting functions are not available - when can we expect them to work again, will they make it for the official UE5 release? There are a lot of useful editor utility functions like actor selection functions, mesh merging, etc. that we can’t use for now in UE5 EA.

I’m about to submit an Unreal Engine bug on Add Box Collider in a constructor not working for streaming levels (I have a repro project).

I never wanted that functionality in the constructor anyway, but the trouble is that you’re not allowed to use the Add Box Collider node in Editor Utility Widgets…

(EDIT: Submitted it as 00355738.)

Just submitted this bug…

00361310: Editor Utility Widgets don’t print unless you’ve clicked simulate/play at least once since last Unreal Editor restart.

Also, you can get loaded levels, but not their names? And not the name of the level an actor is in?

(EDIT: Absolutely terrible workaround here.)

Hi, i’d like to make buttons to set light map resolution via editor widget but the only exposed parameters is “get light map reslution” and there is no “set”…
I try to use recorsive “compute lightmap density” till it reach the correct value but it’s not the right way to achive my goal (and also it’s a very wrong way of doing things…).

It will be usefull to have expose at least all the parameters in the details rollout and not only some of them…

Finally, are some editor events have been implemented?
I need to get the location of an actor in my utility widget right by clicking on the actor in viewport. I can’t find any way to achieve this.
Anyone has an idea?
Thanks,

The ability to change viewport mode would help me greatly too.

Hello,

I’m not sure if this is already possible or if this should become a feature request

Is it possible for an Editor Utility Widget that is a button on the toolbar to get the details of the asset/tab it is part of?

Use case here is I’ve made a button to navigate to our custom documentation, it has been added to the AssetEditor.BlueprintEditor.ToolBar so that it appears when editing a Blueprint, however currently I only seem to be able to get a reference to an asset that is in the level OR the content browser, rather than the open asset

EUW

Hi,

I have an editor plugin that let you run Editor Utility Widgets inside the Blueprint Editor and in those you can can access the blueprint that is open.

Seems this still can’t be done? No ability to create a material picker or target for material drag and drop?

(Search on this new forum is truly terrible, because if I search this thread for “material” there’s so many results that it goes off screen and the results list can’t be scrolled!)

(Oh, and this thread seems to lack the editor-utility tag… do Epic want us to use tags or categories? The UX of this forum really went down the drain after the change.)

Would like the variable PlaybackSpeed for the root level sequence to be exposed to blueprints. It’s possible to affect a level sequence in various ways even though it’s not an actor in the level (e.g. “get current level sequence” → “play”), but this aspect doesn’t seem accessible.