Hello,
I’m building an external tool that needs to automate asset operations in UE5 using the Remote Control API. Currently, I can perform individual operations via HTTP calls, but it’s kind of slow for batch operations.
What I’m trying to achieve:
Execute Python scripts remotely that can perform batch operations like bulk asset renaming, which would be much faster than individual HTTP calls. (Yes I know UE has a batch rename tool, but it’s slow - the same speed as the HTTP calls - also I’m building a tool that does a bunch of other things too and renaming is one of them. And I’ve seen that dropping in python scripts does this much faster)
What I’ve tried:
I’ve tested these Remote Control API endpoints, but they all return 404:
-
POST /remote/python/execute
with{"script": "python_code_here"}
-
POST /remote/object/call
targeting PythonBlueprintFunctionLibrary -
POST /remote/batch
with Python execution requests
Current working approach (slow):
POST /remote/object/call
{
"objectPath": "/Script/EditorScriptingUtilities.Default__EditorAssetLibrary",
"functionName": "RenameAsset",
"parameters": {...}
}
Desired approach (fast):
Execute a Python script like:
import unreal
editor_asset_lib = unreal.EditorAssetLibrary()
for asset in assets:
editor_asset_lib.rename_asset(old_path, new_path)
Questions:
-
Does the Remote Control API support Python script execution?
-
If not, are there plans to add this functionality?
-
Is there another way to trigger Python scripts remotely in UE5?
-
Are there any plugins or alternative approaches for batch operations via API?
Setup:
-
UE5.3+ with EditorScriptingUtilities plugin enabled
-
Remote Control Web Interface plugin enabled
-
Python scripts work fine when manually executed in the Output Log
Any guidance would be greatly appreciated! The performance difference between individual HTTP calls vs batch Python execution is significant for processing large amounts of assets.
Thanks!