Baking AS onto a MH BP CR in a LS

I have a MH BP in a LS. In the MH BP there is a Face track. In the Face track there is an AS and a Face CR.

I want to bake the AS to the Face CR so i can export to Maya for polish.

I thought I could use the Face > “Bake to Control Rig” option but that seems like it is for generic CR infrastructure and not BP. (Technically it will bake the animation but the result are not desired)

I am able to do this operation in python using:

unreal.ControlRigSequencerLibrary.load_anim_sequence_into_control_rig_section_with_range

But have not been able to do it by hand.

How do i do this by hand?

[Attachment Removed]

Hi, this looks to be a bug that we’ve fixed for the 5.8 release. The UI bake to control rig path calls load_anim_sequence_into_control_rig_section_with_range under the hood, but first it performs some extra work to get the mesh’s pose and set it on the bones and curves in the control rig. The problem happens when the control rig we’re baking to is the same as an existing control rig track in the sequence. In that case, we attempt to reuse the same control rig track, and this affects the pose we extract from the mesh. This has caused various bugs and has been changed in 5.8 so that the existing track is always destroyed and re-created. When I was testing the workflow you described, that change resolved the issue.

There are two options for you to try to resolve the issue in 5.7. The first is just to remove the Face Control Board rig before you then select it as the target rig to bake to. The second is to integrate the following code change that went into 5.8 which will do the same for you automatically. The CL for this is 50736014, the changes should be trivial to integrate.

Let me know how you get on with this.

[Attachment Removed]

This make sense thanks.

[Attachment Removed]

Glad that was useful. I’ll close out this thread but you can always reopen it if you need to discuss things further.

[Attachment Removed]