# command line render error

**URL:** <https://forums.unrealengine.com/t/command-line-render-error/1409533>\
**Category:** Pipeline & Plugins\
**Tags:** Shotgun, unreal-engine, Rendering\
**Created:** [November 21, 2023, 4:46pm UTC](https://forums.unrealengine.com/t/command-line-render-error/1409533 "2023-11-21T16:46:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonovasitch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bonovasitch](https://forums.unrealengine.com/u/bonovasitch)\
**Post date:** [November 21, 2023, 4:46pm UTC](https://forums.unrealengine.com/t/command-line-render-error/1409533/1 "2023-11-21T16:46:31Z")

</div>

I’m hoping for some insight into why this command is failing on the command line. The command line arguments are generated by the SGTK tk-multi-publish2 hook in tk-unreal. What is particularly confusing is the `LoadPackage can't find package` warning because the file in question definitely exists.

Worth noting is I’m using UE 5.2 when it appears that the sgtk integration has not been updated past UE 5.0. I had to modify some of the package files to get this far, but I don’t see anything specific to my changes that would cause this error.

Here is the command I’m using followed by the error,

```auto
E:\UnrealEngines\UE_5.2\Engine\Binaries\Win64\UnrealEditor.exe "C:/Users/tvoll/Documents/Unreal Projects/MRQCommandLine/MRQCommandLine.uproject" MoviePipelineEntryMap?game=/Script/MovieRenderPipelineCore.MoviePipelineGameMode -game -Multiprocess -NoLoadingScreen -FixedSeed -log -Unattended -messaging -SessionName="Publish2 Movie Render" -nohmd -windowed -ResX=1280 -ResY=720 -dpcvars="sg.ViewDistanceQuality=4,sg.AntiAliasingQuality=4,sg.ShadowQuality=4,sg.PostProcessQuality=4,sg.TextureQuality=4,sg.EffectsQuality=4,sg.FoliageQuality=4,sg.ShadingQualit
y=4,r.TextureStreaming=0,r.ForceLOD=0,r.SkeletalMeshLODBias=-10,r.ParticleLODBias=-10,foliage.DitheredLOD=0,foliage.ForceLOD=0,r.Shadow.DistanceScale=10,r.ShadowQuality=5,r.Shadow.RadiusThreshold=0.001000,r.ViewDistanceScale=50,r.D3D12.GPUTimeout=0,a.URO.Enable=0" -execcmds="r.HLOD 0" -MoviePipelineConfig="C:\\Users\\tvoll\\AppData\\Local\\UnrealEngine\\5.2\\Saved\\MovieRenderPipeline\\tmp_8nu21zr.utxt"

```

Output:

```auto
[2023.11.21-15.31.36:875][1]LogUObjectGlobals: Warning: LoadPackage can't find package C:\Users\tvoll\AppData\Local\UnrealEngine\5.2\Saved\MovieRenderPipeline\tmp_8nu21zr.utxt.
[2023.11.21-15.31.36:876][1]LogOutputDevice: Warning:

Script Stack (0 frames) :

[2023.11.21-15.31.36:877][1]LogWindows: Error: appError called: Fatal error: [File:D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MovieRenderPipelineCommandLine.cpp] [Line: 264]
Could not parse text asset package.

[2023.11.21-15.31.36:877][1]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2023.11.21-15.31.42:532][1]LogWindows: Error: === Critical error: ===
[2023.11.21-15.31.42:536][1]LogWindows: Error:
[2023.11.21-15.31.42:539][1]LogWindows: Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Plugins\MovieScene\MovieRenderPipeline\Source\MovieRenderPipelineCore\Private\MovieRenderPipelineCommandLine.cpp] [Line: 264]
[2023.11.21-15.31.42:539][1]LogWindows: Error: Could not parse text asset package.
[2023.11.21-15.31.42:540][1]LogWindows: Error:
[2023.11.21-15.31.42:541][1]LogWindows: Error:
[2023.11.21-15.31.42:542][1]LogWindows: Error: [Callstack] 0x00007ffb5641d75b UnrealEditor-MovieRenderPipelineCore.dll!UnknownFunction []
[2023.11.21-15.31.42:543][1]LogWindows: Error: [Callstack] 0x00007ffb56411edf UnrealEditor-MovieRenderPipelineCore.dll!UnknownFunction []
[2023.11.21-15.31.42:543][1]LogWindows: Error: [Callstack] 0x00007ffb563f7d47 UnrealEditor-MovieRenderPipelineCore.dll!UnknownFunction []
[2023.11.21-15.31.42:544][1]LogWindows: Error: [Callstack] 0x00007ffbe63ad459 UnrealEditor-Engine.dll!UnknownFunction []
[2023.11.21-15.31.42:545][1]LogWindows: Error: [Callstack] 0x00007ffbe6437c4d UnrealEditor-Engine.dll!UnknownFunction []
[2023.11.21-15.31.42:555][1]LogWindows: Error: [Callstack] 0x00007ffbe55d5e41 UnrealEditor-Engine.dll!UnknownFunction []
[2023.11.21-15.31.42:557][1]LogWindows: Error: [Callstack] 0x00007ffbe522ab7d UnrealEditor-Engine.dll!UnknownFunction []
[2023.11.21-15.31.42:558][1]LogWindows: Error: [Callstack] 0x00007ffb76d1ae26 UnrealEditor-DisplayCluster.dll!UnknownFunction []
[2023.11.21-15.31.42:559][1]LogWindows: Error: [Callstack] 0x00007ff7b27b875f UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:560][1]LogWindows: Error: [Callstack] 0x00007ff7b27d473c UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:561][1]LogWindows: Error: [Callstack] 0x00007ff7b27d482a UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:566][1]LogWindows: Error: [Callstack] 0x00007ff7b27d74f0 UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:567][1]LogWindows: Error: [Callstack] 0x00007ff7b27ea4c4 UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:572][1]LogWindows: Error: [Callstack] 0x00007ff7b27ed996 UnrealEditor.exe!UnknownFunction []
[2023.11.21-15.31.42:573][1]LogWindows: Error: [Callstack] 0x00007ffc340e7344 KERNEL32.DLL!UnknownFunction []
[2023.11.21-15.31.42:574][1]LogWindows: Error: [Callstack] 0x00007ffc342a26b1 ntdll.dll!UnknownFunction []
[2023.11.21-15.31.42:575][1]LogWindows: Error:
[2023.11.21-15.31.42:588][1]LogExit: Executing StaticShutdownAfterError
[2023.11.21-15.31.42:592][1]LogWindows: FPlatformMisc::RequestExit(1)
[2023.11.21-15.31.42:592][1]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.11.21-15.31.42:593][1]LogCore: Engine exit requested (reason: Win RequestExit)
[2023.11.21-15.31.42:594][1]LogDisplayClusterEngine: UDisplayClusterGameEngine::PreExitImpl

```

Any insight would be appreciated.

---

<div class="post-metadata">

**Author:** ![nilslerin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nilslerin](https://forums.unrealengine.com/u/nilslerin)\
**Post date:** [March 31, 2025, 3:04pm UTC](https://forums.unrealengine.com/t/command-line-render-error/1409533/2 "2025-03-31T15:04:14Z")

</div>

Something seems to have changed in MoviePipelineRender and the path it expects in order to load the queue file.

I changed the publish\_movie hook and removed these lines and now it’s working for me

```
    manifest_path = os.path.abspath(manifest_path)
    manifest_dir, manifest_file = os.path.split(manifest_path)
    f, new_path = tempfile.mkstemp(
        suffix=os.path.splitext(manifest_file)[1],
        dir=manifest_dir
    )
    os.close(f)
    os.replace(manifest_path, new_path)

    self.logger.debug("Queue manifest saved in %s" % new_path)
    # We now need a path local to the unreal project "Saved" folder.
    manifest_path = new_path.replace(
        "%s%s" % (
            os.path.abspath(
                os.path.join(unreal.SystemLibrary.get_project_directory(), "Saved")
            ),
            os.path.sep,
        ),
        "",
    )

```

What the hook developer did here doesn’t seem to be needed any more and instead cause issues with what the latest version of MoviePipeline expects
