Background
For our UE 5.5.4-based project, we are utilizing Subsequences. We have noticed a strange behavior.
If you have a Sequence which has Subsequence tracks with Scene conditions on them, the sequence asset cooks just fine.
If you have a Sequence which has a subsequence track which also has subsequence tracks and THOSE tracks in the nested sequence have conditionals, the cook fails with the following message:
LogWindows: Error: appError called: Can't save 'TopLevelSequence.uasset': Illegal reference to private object: 'MovieSceneSubTrack SubSequence0.SubSequence0: MovieScene_0.MovieSceneSubTrack_1' referenced by 'CompiledData' (at 'TopLevelSequence.TopLevelSequence') in its 'Condition' property.
I’ve replaced project-specific names with generic names.
I have noticed that this error is really similar to this change in github, related to Timewarp tracks.
To repro this cook error:
- Create a LevelSequence, SequenceA.
- Add Sub Sequence tracks, reference other LevelSequences and add Scene conditions to those tracks.
- Create yet another Level Sequence, MainSequence
- Add a SubSequence Track and reference SequenceA.
- Try to cook your assets. The error shared above ought to show when the cook operation fails.
We are seeing the same cook error when cooking via the editor and on our CI solution.
I may have missed a separate post, but I tried looking about the forum before making this post, to try to avoid potentially duplicating the issue.
Are we abusing Subsequences, or is this a bug?
Thanks so much in advance for your help!