Same here. My two projects are broken in UE5 because the Editor Scripting Utilities being deprecated in UE5 EA.
For example, besides the “Set Selected Actors” also the “Select Nothing”, “Merge Static Mesh Actors” and more functions are not available, even with the Editor Scripting Utilities plugin enabled.
Please let us know when these useful functions will come back or how to replace them.
Thank you for the info! It is available only from the Editor Utility Widget class though, I can’t access it from the Editor Utility Actor.
The Merge Static Mesh Actors function is not available there, a few other functions are missing as well.
I’ll try to get into the source code and investigate it but I’m not really versed in this area yet (working with source code), so any clues would be greatly appreciated.
Update: The Static Mesh Editor Subsystemis accessible from the Editor Utility Actor, but I had to create a new Editor Utility Actor (tested in UE5). The old one (migrated from older project) can’t access it for some reason.
Update 2: It seems like these subsystems are available only when creating the Editor Utility Actor from the dropdown menu (RMB → Editor Utilities → Editor Utility Blueprint).
If we create it like a regular blueprint and pick Editor Utility Actor as a parent class (or reparent a blueprint to the Editor Utility Actor class), they are not available.
Update 3: In UE 5.0, these subsystems still are not available in previously created Editor Utility Actors. Which is strange, since they have the exact same parent class as the newly created ones.
As far as I can tell, Recreating the EditorActorUtility Blueprint is the only way to access these subsystems.
I did some digging and it seems that the Class of the Blueprint Asset is the issue. The BlueprintAsset that was migrated is of the class UBlueprint while new UEditorUtilityActors will create a blueprint asset of type UEditorUtilityBlueprint.
If you have migrated an EditorUtilityActor from UE 4.X, you can paste the desired GetEditorSubsystem call into your Blueprint and it still won’t compile with the error “Editor Subsystems can only be used in Editor Utilities / Blutilities.”
This is because the engine calls the function IBlutilityModule::IsEditorUtilityBlueprint to check that the given Blueprint Asset is a child of UEditorUtilityBlueprint or UEditorUtilityWidgetBlueprint. Since our migrated asset is of type UBlueprint, this check fails.
So we either need to recreate the affected blueprints or wait for Epic to change the Migrate tool.