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.
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.
Apologies for the delay in response, Epic was on a summer break. There is a bug that we have logged internally for the one you noted, but it is the same issue.
There isn’t really a way to get around it at the moment.
Unfortunately, we don’t have too much in terms of guidance here at the moment. It’s possible that the track or conditionals would need to be checked that they are being constructed and saved as weak pointers. The only work around suggestion I have is not to have have conditional tracks nested at the moment, knowing that could be deeply inconvenient for you.
Due to the nature of this bug, I wouldn’t expect it to be included in a 5.6.x release. However, after discussing this bug with the development team, I believe they are interested in addressing it as soon as possible.
Thanks for the quick and honest reply and no worries at all. We’re thinking the same, in terms of your suggested workaround. It at least will get us to a good place.
I’ll be interested to hear when a solution does come in!