Steps to Reproduce
- Copy the MovieGraphEditorExample.py to MyProject/Content/Python/MyMovieGraphEditor.py
- Add render_queue(unreal.load_asset(“/Game/Cinematics/Sequences/MyRenderQueue.MyRenderQueue”), unreal.load_asset(“/Game/Cinematics/MyRenderGraph.MyRenderGraph”)) at the bottom of the py file.
- In an interactive session, import MyMovieGraphEditor
- Observe the render happens as expected.
- From command line, run C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -ExecutePythonScript=C:\MyProject\Content\Python\MyMovieGraphEditor.py
- See this in the log
[2025.04.01-20.57.21:764][ 3]LogMovieScene: Starting new camera cut: ‘Shot1_Baked_0’
[2025.04.01-20.57.21:795][ 3]LogMovieRenderPipeline: MovieGraph Finished initializing Camera Cut [1/1] OuterName: [LST01_010] InnerName: Shot1_Baked.
[2025.04.01-20.57.22:751][ 3]LogContentStreaming: Texture pool size now 3000 MB
[2025.04.01-20.57.22:751][ 3]LogCsvProfiler: Display: Metadata set : streamingpoolsizemb=“3000”
[2025.04.01-20.57.23:248][ 3]Cmd: QUIT_EDITOR
…
[2025.04.01-20.57.26:516][ 3]LogMovieRenderPipeline: MovieGraph Finished rendering last shot. Moving to Finalize to finish writing items to disk.
[2025.04.01-20.57.26:535][ 3]LogPython: on_queue_finished_callback Render completed. Success: False
[2025.04.01-20.57.26:535][ 3]LogMovieRenderPipeline: Movie Graph Render completed. Duration: +00:00:05.158
[2025.04.01-20.57.26:535][ 3]LogMovieRenderPipeline: MoviePipelinePIEExecutor: Stalling finished, pipeline has shut down.
…
[2025.04.01-20.57.26:593][ 3]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2025.04.01-20.57.26:593][ 3]LogWorld: BeginTearingDown for /Game/Maps/UEDPIE_0_Cinematic
[2025.04.01-20.57.26:593][ 3]LogSlate: Window ‘Movie Pipeline Render (Preview) [Job 1/1 Total] Current Job: 0% Completed.’ being destroyed
[2025.04.01-20.57.26:601][ 3]LogWorld: UWorld::CleanupWorld for Cinematic, bSessionEnded=true, bCleanupResources=true
[2025.04.01-20.57.26:601][ 3]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2025.04.01-20.57.26:601][ 3]LogWorldPartition: UWorldPartition::Uninitialize : World = /Game/Maps/UEDPIE_0_Cinematic.Cinematic
[2025.04.01-20.57.26:605][ 3]LogPlayLevel: Display: Shutting down PIE online subsystems