'World context object' for Get all actors of class?

I’m working inside an editor utility object BP and I’m trying to get all actor of class, however it asks for a world context object. At the minute I’ve just placed an empty actor BP inside the level and then i’m getting this as a variable and piping it into the world context object but this doesn’t seems to be working.

I’m trying to get a level sequence actor from the level and open it with the press of a button from my monogram console without have to find the actor in level as I don’t want to use get selected actors. Is there something I should be using for world context object? Any help would be greatly appreciated.

GetEditorWorld (UEditorLevelLibrary)
Should be callable from blueprints as a world context for the editor utility.

Thanks for your reply. Unfortunately it is not callable from editor utility object BP.

A few weeks ago I read a post of someone who ran into the exact same problem here but I can not remember why the world / context wasn’t working… I see the options are a bit limited.

Usually when I run into a case where I want to find an actor in the level I instead register them to one of my subsystems the moment I spawn them. You could make an editor subsystem which manages the actors directly.

Never worked with subsystems before. Will do some research and see if I can figure it out. Thanks for your help

Hi! Are you sure that you inherited your BP from ActorActionUtility? Cause GetEditorWorld is easily accessible here
image

I’m working from an editor utility object blueprint

for ue 5.1
Screenshot 2023-01-29 173241