Bake to Control Rig blueprint function node bug

The Bake to Control Rig node only works with single-layered level sequences.

Since our studio uses a nested level sequence setup, I tried using the [open level sequence] blueprint node to open the focused level sequencer separately first before running Bake to Control Rig, but it still didn’t work.

[Image Removed]

Steps to Reproduce
Create a nested level sequence.

Set up an EUW with a Bake to Control Rig function node.

Run the EUW on a binding inside the nested level sequence.

Notice that nothing gets triggered.

Hey there,

Yes, that node intends to bake the level sequence you pass it, specifically; you would need to find the subsequence and then bake that node. So in this case, opening the sequence isn’t enough; you would need to find that particular subsequence UAsset and then bake.

I’ll raise this example to the team, though; it’s a good use case.

Dustin

I did a local test and did not run into any issues except that in the mainline code base, AnimSeqExportOptions are not available to blueprint. I exposed that locally to be able to run the function, but you should not need to open the subsequence at all.

Would you be willing to share a larger code snippet of your function so that I can understand how you are fetching the subsequence? Are you in 5.6? Do you have engine edits around access anim sequence export options? When you hover over the Bake To Control Rig functionwhat does the tooltip say? Are there any error that pop up into output window when you run your function?

Dustin

Got it, thank you.

I’ve logged an issue here. Unreal Engine Issues and Bug Tracker (UE\-314633)

Unfortunately, I don’t have a workaround at the moment because this function will not work with any open nested sequence. The only workaround I can offer is to script a version of this where you search for the level sequence or binding when it is closed. (Which was my first repro that allowed me to do it).

Dustin

Hey there,

I have a two-line code fix for that function that will address the issue that I’m integrating into mainline now. If you like, you can apply the edit to your engine at CL: 45037290.

Dustin

I think there may have been a misunderstanding. I did locate the subsequence object and pass it as the input to the Bake to Control Rig function, but it only works when the subsequence is opened on its own in the level sequencer. like this:

[Image Removed]When the sequence is opened as part of a nested structure, like the image below, it doesn’t work.

[Image Removed]I tried using the “open level sequence” function before the Bake to Control Rig function, to get around this bug but it wasn’t working either.

the blueprint function is very simple as shown in the video, tested in 5.6 on the UE5 Mannequin, in the video you can see when I ran the function in a nested sequence, there was no error and no baking happened.

thanks for the quick fix! ill give that a try, hope this fix will be able to make it in to 5.7