How do you get the correct Remote Api object path for a function?

The documentation to list GetAllActors here no longer works in UE5.0 Preview 2 Remote Control API HTTP Reference | Unreal Engine Documentation Section: Paths in the Editor Scripting Utilities

For UE 4.26-7 I would send an http request with

{
    "objectPath" : "/Script/EditorScriptingUtilities.Default__EditorLevelLibrary",
    "functionName":"GetAllLevelActors"
}

The scripting utilities GetAllLevelActors has been depricated and now you need to call this function in EditorActorSubsystem.

How do I get the correct path to the EditorActorSubsystem

I have tried
objectPath = “/UnrealEd/EditorSubsystem.Default__EditorActorSubsystem” and several variations but I do not know how to get the correct path.

Thanks,
Dan

I figured it out. The correct path is /Script/UnrealEd.Default__EditorActorSubsystem

{
“objectPath”: “/Script/UnrealEd.Default__EditorActorSubsystem”,
“functionName”: “GetAllLevelActors”
}

Thank you @dan07070707 - this is not documented elsewhere!

1 Like