Movie Pipeline Python Host Executor

No class set in Python Host Executor. This does nothing without setting a class via “unreal.get_default_object(unreal.MoviePipelinePythonHostExecutor).executor_class = self.get_class()”, or passing “-ExecutorPythonClass=/Engine/PythonTypes.MoviePipelineExampleRuntimeExecutor” on the command line!

I am trying to use a custom Executor, and the corresponding code is written in Python 3.9. While rendering through the console, an issue intermittently occurs, causing crashes. The error message is as mentioned above. I tried the methods you suggested, but they didn’t work well. Could there be something I’m missing?

my code:

command = [
    unreal_exe,
    unreal_project,

    umap_path,
    '-JobId="{}"'.format(uid),
    '-LevelSequence="{}"'.format(useq_path),
    '-MoviePipelineConfig="{}"'.format(uconfig_path),

    "-game",
    '-MoviePipelineLocalExecutorClass="/Script/MovieRenderPipelineCore.MoviePipelinePythonHostExecutor"',
    '-ExecutorPythonClass="/Engine/PythonTypes.CustomExecutor"',

    "-windowed",
    "-resX=1280",
    "-resY=720",

    "-StdOut",
    "-FullStdOutLogOutput",
]

Make sure that your CustomExecutor class is imported inside of init_unreal.py file to register it before running the queue.