How to access with python the function in Editor Actor Utilities Subsystem

When i use python to spawn a mesh in the level i get the following message.

LogPython: Warning: <string>:5: DeprecationWarning: EditorLevelLibrary: Function 'get_all_level_actors' on 'EditorLevelLibrary' is deprecated: The Editor Scripting Utilities Plugin is deprecated - Use the function in Editor Actor Utilities Subsystem

I cannot find any documentation on how to access the function in Editor Actor Utilities Subsystem

same here! did you find an answer yet??

Did anyone find an answer to this? Same problem.

The phrasing of that warning isn’t great, since there is no “Editor Actor Utilities Subsystem”. This is how to avoid the warning:

actor_subsystem = unreal.get_editor_subsystem(unreal.EditorActorSubsystem)
all_actors = actor_subsystem.get_all_level_actors()
1 Like