# (UE5) Set Selected Actors Deprecated

**URL:** <https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 26, 2021, 9:49pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320 "2021-05-26T21:49:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pon-Pon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pon-pon/32/467691_2.png) [@Pon-Pon](https://forums.unrealengine.com/u/Pon-Pon)\
**Post date:** [May 26, 2021, 9:49pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/1 "2021-05-26T21:49:15Z")

</div>

I was wondering if this is just because it’s currently in early-access, and intended to be added back in at a later date, or if this was planned on being fully depreciated?

Get selected actors is still in the editor; so if I overlooked a new way to set them please let me know!

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [July 14, 2021, 10:56am UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/2 "2021-07-14T10:56:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Fidilip](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fidilip](https://forums.unrealengine.com/u/Fidilip)\
**Post date:** [August 9, 2021, 1:35pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/3 "2021-08-09T13:35:53Z")

</div>

Use the new “EditorActorSubsystem” ([UEditorActorSubsystem | Unreal Engine Documentation](https://docs.unrealengine.com/5.0/en-US/API/Editor/UnrealEd/Subsystems/UEditorActorSubsystem/)). Example:  
 ![img3](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/8/f8d1ad83ec24bdabd24f5896f249f115ab9d57f6.png)

You can find more sensible deprecation messages in the UE5 source code, using github.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [August 9, 2021, 3:19pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/4 "2021-08-09T15:19:32Z")

</div>

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](https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/EditorScripting/Dataprep/MergeStaticMeshActors/)_ 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.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [August 10, 2021, 9:24am UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/5 "2021-08-10T09:24:33Z")

</div>

Update: Merge Static Mesh Actors is available in another subsystem:

> **[Merge Static Mesh Actors](https://docs.unrealengine.com/5.0/en-US/BlueprintAPI/EditorScripting/Dataprep/MergeStaticMeshActors/)**
>
> Merge Static Mesh Actors

 ![editorUtilsUE5](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/1/d1aab124ff0f701c5a448f1097183fb667041de0.png)

… But still, these subsystems are available only from within the Editor Utility Widget class. Can’t access it from the Editor Utility Actor.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [September 8, 2021, 7:51am UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/6 "2021-09-08T07:51:21Z")

</div>

Update: _The Static Mesh Editor Subsystem_ **is** 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.

---

<div class="post-metadata">

**Author:** ![redhousegames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redhousegames/32/461590_2.png) [@redhousegames](https://forums.unrealengine.com/u/redhousegames)\
**Post date:** [October 19, 2022, 7:56pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/7 "2022-10-19T19:56:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Marco.Alvarez](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marco.Alvarez](https://forums.unrealengine.com/u/Marco.Alvarez)\
**Post date:** [January 3, 2023, 4:14pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/8 "2023-01-03T16:14:47Z")

</div>

Hi!

Something you could try (I just hit this same issue) is temporarily add this and resave the offending assets.

```auto
	TArray<FCoreRedirect> Redirects;
	Redirects.Emplace(ECoreRedirectFlags::Type_Class, TEXT("/Script/Engine.Blueprint"), TEXT("/Script/Blutility.EditorUtilityBlueprint"));
	FCoreRedirects::AddRedirectList(Redirects, TEXT("EditorUtilityConversion"));

```

In your project’s StartupModule.

---

<div class="post-metadata">

**Author:** ![MartinRocker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MartinRocker](https://forums.unrealengine.com/u/MartinRocker)\
**Post date:** [February 19, 2023, 11:00am UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/9 "2023-02-19T11:00:11Z")

</div>

> [@Slavq](#):
>
> **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.

Thanks for this tip! That was the issue.

---

<div class="post-metadata">

**Author:** ![tyBuserGala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tyBuserGala](https://forums.unrealengine.com/u/tyBuserGala)\
**Post date:** [March 27, 2023, 5:39pm UTC](https://forums.unrealengine.com/t/ue5-set-selected-actors-deprecated/231320/10 "2023-03-27T17:39:28Z")

</div>

Has anyone else noticed that if you create such a blueprint that you won’t be able use buttons for functions with the “Call In Editor” flagged ticked? I hope its a bug and not some weird omission. 😕
