Skip to content

Export

11 tools for Movie Render Queue jobs, exporting assets, Blueprints and level sections, asset reports and async loading.

Back to the index.

cancel_render_job

Destructive

Cancels the in-progress movie render, if one is running (honest headless gate). Movie renders run inside a Play-In-Editor session (UMoviePipelinePIEExecutor), so in a headless / non-interactive editor there is normally no active executor. When an active render exists it is canceled via UMoviePipelineExecutorBase::CancelAllJobs; otherwise this reports was_rendering:false honestly (an expected headless state, not an error).

Parameter Type Required Description
job_name string no Optional job name (informational only; cancellation stops the active executor's whole render).

Returns: { canceled: bool, was_rendering: bool, note: string }

create_render_job

Additive

Adds a new job for a Level Sequence to this editor session's Movie Render Queue, without rendering: the job points at the sequence, renders in map_path or, without it, in the level open in the editor (as the Movie Render Queue window does), and has its default primary configuration. A map that is not the package path of a saved map (an unsaved level included) is refused before the job is added, since the renderer would stop the whole queue at once. One undo step; the queue lives in memory, so nothing is saved to disk and the job is gone when the editor closes. Works headless. Each call adds another job, even with a job_name the queue already has (tools that take job_name then act on the first match). Next, set resolution, folder and image format with set_render_job_output and render with render_sequence_to_movie, which renders every job in the queue; get_render_queue lists the jobs and delete_render_job takes one out. For a quick render with default PNG output, render_sequence_to_movie alone is enough.

Parameter Type Required Description
sequence_name string yes Asset name of the Level Sequence, not a path (e.g. "Intro"): the first Level Sequence under /Game with that name, case-insensitive; get_level_sequences lists them.
job_name string no Optional job name (default "RenderJob_<sequence_name>"), the name set_render_job_output and delete_render_job take; not checked for uniqueness.
map_path string no Optional object path of the map the job renders in (e.g. "/Game/Maps/MyMap.MyMap"); without it the job takes the level open in the editor. A map that is not the package path of a saved map (a long package name under a writable root; an unsaved level is under /Temp) is an error and no job is added.

Returns: { job_name: string, sequence_name: string, sequence_path: string, map: string, has_configuration: bool, job_created: bool, queue_job_count: number }

delete_render_job

Destructive Idempotent

Deletes one job, by name, from this editor session's Movie Render Queue, or every job with delete_all true. Only the queued job goes: its sequence, its map and any frames already rendered stay. One undo step; nothing is saved to disk, since the queue lives in memory. Works headless. Idempotent: a job_name the queue does not have succeeds with already_absent true and nothing changes; when several jobs share the name, only the first is deleted. A call with neither job_name nor delete_all is an error. get_render_queue lists the job names, create_render_job and render_sequence_to_movie add jobs, and cancel_render_job stops a render in progress, which this tool does not do.

Parameter Type Required Description
job_name string no Name of the job to delete, as get_render_queue lists it (e.g. "RenderJob_Intro"), matched case-insensitively; required unless delete_all is true.
delete_all boolean no Optional bool, default false; true deletes every job in the queue and ignores job_name.

Returns: { job_name?: string, deleted?: bool, already_absent?: bool, deleted_all?: bool, queue_job_count: number }

export_asset_as_text

Destructive

Produce a CANONICAL, STABLE text dump of ANY asset (Blueprint, DataTable, Material, DataAsset, ...) for external diff / VCS snapshot / review, without the volatile bits of the binary .uasset. format='json' (default) gives a deterministic sorted UPROPERTY dump (a UDataTable uses its native GetTableAsJSON writer); format='t3d' gives the engine's UExporter T3D text. Returns the text inline (capped), a whole-text MD5 content hash for change detection, and writes the full dump to Saved/Exports/Text. This is the primitive under the diff tools.

Parameter Type Required Description
asset_path string yes Object path or /Game package path of the asset to dump.
format string no 'json' (default; deterministic reflection / DataTable-JSON) or 't3d' (UExporter T3D).
write_file boolean no Optional bool (default true). Also write the full dump under Saved/Exports/Text.

Returns: { asset_path: string, object_path: string, asset_class: string, format: string, text: string, text_length: int, truncated: bool, content_hash: string, export_file_path: string, written: bool, message: string }

export_blueprint_data

Additive

Load a Blueprint asset and write a summary of it to a new file Saved/Exports/Blueprints/<Name>_<YYYYMMDD_HHMMSS>.json or .txt in the project: parent class, compile status, counts of function graphs, event graphs and variables, function graph names, and member variables (name, pin type, category; JSON adds public and editable flags). No graph nodes; the Blueprint is not modified or compiled. Errors if the asset is missing or not a Blueprint; an unsupported format writes nothing (export_success=false). For an inline reply use get_blueprint_info; for a full dump, export_asset_as_text.

Parameter Type Required Description
blueprint_path string yes Full path to the blueprint asset (e.g., '/Game/MyBlueprint').
export_format string yes Export format: 'json' or 'txt'.

Returns: { blueprint_path: string, export_format: string, export_success: bool, export_message: string, export_file_path: string, export_file_name: string, export_file_size_bytes: int, export_file_size_mb: number, blueprint_class: string, package_name: string, original_file_size_bytes: int, original_file_size_mb: number, export_timestamp: string, export_status: string, export_directory: string }

export_level_section

Destructive

Exports the actors of one section of the editor world (name, class, transform) to JSON or TXT. A section is a loaded level (the persistent level or a streaming sub-level, by package name), else an outliner folder (with its subfolders); '*' exports the whole world. An unknown section is an error that lists the loaded levels.

Parameter Type Required Description
section_name string yes Level package name (e.g. 'L_City_Interiors'), outliner folder path (e.g. 'Lighting' or 'Props/Trees'), or '*' for the whole world.
export_format string yes Export format: 'json' or 'txt'.

Returns: { section_name: string, export_format: string, export_success: bool, export_message: string, export_file_path: string, export_file_name: string, export_file_size_bytes: int, export_file_size_mb: number, level_name: string, world_name: string, section_scope: string ('world' | 'level' | 'folder'), actor_count: int, export_timestamp: string, export_status: string, export_directory: string }

flush_async_loading

Destructive

Block until all in-flight async package loads finish (::FlushAsyncLoading).

No parameters.

Returns: { flushed, async_packages_before, async_packages_after, packages_flushed }

generate_asset_report

Additive

Load an asset and write a property report to a new file Saved/Reports/Assets/<Name>Report<YYYYMMDD_HHMMSS>.json or .txt in the project: every reflected property of its class (editable or not) with its type and value text, counts of editable and Blueprint-visible properties, and the package file size -- or, with visible_only, just the editable or Blueprint-visible properties as details-panel text. Those statistics go only into the file; the reply carries its path, size and status, and the package file size. The asset is not modified. A missing asset is an error; an unsupported format writes nothing (report_success=false). export_asset_as_text returns a canonical dump inline.

Parameter Type Required Description
asset_path string yes Full path to the asset to analyze (e.g., '/Game/MyAsset').
report_format string yes Report format: 'json' or 'txt'.
visible_only boolean no Optional bool (default false): write only the editable or Blueprint-visible properties, each as its details-panel text (a JSON properties object of name -> text), with report_type "Visible Properties", instead of the full census.

Returns: { asset_path: string, report_format: string, report_success: bool, report_message: string, report_file_path: string, report_file_name: string, report_file_size_bytes: int, report_file_size_mb: number, asset_class: string, package_name: string, original_file_size_bytes: int, original_file_size_mb: number, report_timestamp: string, report_status: string, report_type: string, report_directory: string }

get_render_queue

Read-only

List the jobs in the editor's Movie Render Queue right now (the queue of this editor session, held by the Movie Pipeline Queue subsystem; nothing is read from disk): each job's job_name, sequence and map paths, enabled flag and setting_count (settings on its configuration), plus queue_job_count. Use it to find job names before set_render_job_output, delete_render_job or render_sequence_to_movie, and to confirm what create_render_job added; cancel_render_job stops a render in progress. Read-only and idempotent. An empty queue gives queue_job_count 0, not an error; an editor without the subsystem (Movie Render Queue plugin off) is an error.

No parameters.

Returns: { jobs: [{ job_name: string, sequence: string, map: string, enabled: bool, setting_count: number }], queue_job_count: number }

render_sequence_to_movie

Destructive

Renders a Level Sequence to PNG frames with Movie Render Queue: adds a job named OneShot_<sequence_name> with the engine's default output (1920x1080 into {project_dir}/Saved/MovieRenders/) and starts rendering the whole editor queue, jobs from create_render_job included, in a Play-In-Editor session. Asynchronous: the editor starts that session on its next frame, so the call returns before any frame is written, and render_state is the renderer read right after the start: waiting_for_pie or rendering (render_started true); already_rendering when a render was running, which starts nothing new and the job joins its queue; ended_without_rendering when the renderer stopped at once, which makes success false (the editor log, category LogMovieRenderPipeline, says why; the job stays queued). The job renders in map_path, or without it in the level open in the editor; a map that is not the package path of a saved map (an unsaved level included) is refused before the job is added, and so is a start while the queue holds another job with such a map, since the renderer would abort the whole queue (delete_render_job removes it). The frames need an interactive editor, since they are drawn in that PIE session. Frames overwrite earlier files of the same name in the output folder, and each call adds another job. For another resolution or format use create_render_job and set_render_job_output first; follow progress with get_render_queue and stop with cancel_render_job.

Parameter Type Required Description
sequence_name string yes Asset name of the Level Sequence, not a path (e.g. "Intro"): the first Level Sequence under /Game with that name, case-insensitive; get_level_sequences lists them.
map_path string no Optional object path of the map to render in (e.g. "/Game/Maps/MyMap.MyMap"); without it the job takes the level open in the editor, as the Movie Render Queue window does. A map that is not the package path of a saved map (a long package name under a writable root; an unsaved level is under /Temp) is refused before anything changes.

Returns: { sequence_name: string, job_name: string, job_created: bool, map_path: string, queue_job_count: number, render_started: bool, render_state: "waiting_for_pie"|"rendering"|"already_rendering"|"ended_without_rendering", render_async: bool, note: string }

set_render_job_output

Destructive Idempotent

Set where and how a Movie Render Queue job writes its frames: resolution, output folder and image format, on the job's configuration. Use it after create_render_job, which makes the job; the queue is rendered by render_sequence_to_movie, which adds a job of its own for a sequence and then renders every job in the queue, this one included; read the queue back with get_render_queue. Each format adds its image-sequence output to the job and none is removed, so calling it with png and then jpg writes both (delete_render_job and create_render_job start the job over). Settings that are not given keep their value; an unknown format, or a resolution with only one side or a side of 0 or less, is refused and nothing changes. exr falls back to png when the EXR output is not available, and format says which was used. The queue lives in this editor session: nothing is saved to disk, and the job is lost when the editor closes.

Parameter Type Required Description
job_name string yes Name of a job in the editor's render queue, as create_render_job or get_render_queue returns it.
resolution_x integer no Output width in pixels, e.g. 1920; give it together with resolution_y, or neither to keep the current resolution.
resolution_y integer no Output height in pixels, e.g. 1080; give it together with resolution_x.
output_dir string no Folder the frames are written to, absolute ("D:/Renders/Shot01") or with Movie Render Queue tokens ("{project_dir}/Saved/MovieRenders/"); omit it to keep the current folder.
format string no Image format of the frames: "png" (default), "jpg" (or "jpeg"), "exr" or "bmp"; any other value is refused.

Returns: { job_name: string, format: string, configured: bool, resolution_x: number?, resolution_y: number?, output_dir: string?, settings: [string], image_outputs: [string], setting_count: number }