Metahuman face animation bake/export python error ,bake_to_control_rig(),FBXControlRigSettings()

Try to do automation for bake and export fbx for face animation (more than 100 takes), manual was find but will take too long. Two bug was occor to me。

When calling unreal.ControlRigSequencerLibrary.bake_to_control_rig from Python on a MetaHuman face sub-sequence, it returns False with:

LogControlRig: Error: Can not open Sequencer for the LevelSequence None
LogControlRig: Error: Baking: Problem Setting up Player

Even when:

  • sub-sequence is open and active in Sequencer
  • passing real world context from UnrealEditorSubsystem(or find in sequence same error)
  • reduce_keys=False

Manual bake (right-click ‘Face’ binding → Bake to Control Rig) works fine.

Related: export_fbx_from_control_rig_section returns True but no file is written.

Reproduction:

  1. Open sub-sequence in Sequencer(metahuman live link record automatically create sequence structure)
  2. Select main/sub-sequence in Content Browser
  3. Run attached Python script

Expected: bake succeeds and creates Control Rig track
Actual: bake fails with None player error

Log attached. Project uses MetaHuman face LiveLink data.