Sequencer - Time Warp Track in a subsequence generates cook errors

Hello,

Adding a Play Rate Curve track to a subsequence seems to create cook errors, such as:

UATHelper: Cooking (Windows): LogSavePackage: Warning: UATHelper: Cooking (Windows): Referencers of MovieSceneTimeWarpSection /Game/LS_Child.LS_Child:MovieScene_0.MovieSceneTimeWarpTrack_1.MovieSceneTimeWarpSection_0: UATHelper: Cooking (Windows): LogSavePackage: Warning: MovieSceneTimeWarpTrack /Game/LS_Child.LS_Child:MovieScene_0.MovieSceneTimeWarpTrack_1 (2 refs) UATHelper: Cooking (Windows): LogSavePackage: Warning: 0) ObjectProperty /Script/MovieScene.MovieSceneTimeWarpTrack:Sections.Sections UATHelper: Cooking (Windows): LogSavePackage: Warning: 1) ObjectProperty /Script/MovieScene.MovieSceneTrackEvaluationFieldEntry:Section UATHelper: Cooking (Windows): LogSavePackage: Warning: UATHelper: Cooking (Windows): Referencers of MovieSceneTimeWarpTrack /Game/LS_Child.LS_Child:MovieScene_0.MovieSceneTimeWarpTrack_1: PackagingResults: Warning: MovieSceneTimeWarpTrack /Game/LS_Child.LS_Child:MovieScene_0.MovieSceneTimeWarpTrack_1 (2 refs) PackagingResults: Warning: 0) ObjectProperty /Script/MovieScene.MovieSceneTimeWarpTrack:Sections.Sections PackagingResults: Warning: 1) ObjectProperty /Script/MovieScene.MovieSceneTrackEvaluationFieldEntry:Section UATHelper: Cooking (Windows): LogSavePackage: Warning: MovieScene /Game/LS_Child.LS_Child:MovieScene_0 (1 refs) UATHelper: Cooking (Windows): LogSavePackage: Warning: 0) ObjectProperty /Script/MovieScene.MovieScene:Tracks.Tracks UATHelper: Cooking (Windows): LogSavePackage: Warning: UATHelper: Cooking (Windows): Referencers of MovieScene /Game/LS_Child.LS_Child:MovieScene_0: PackagingResults: Warning: MovieScene /Game/LS_Child.LS_Child:MovieScene_0 (1 refs) PackagingResults: Warning: 0) ObjectProperty /Script/MovieScene.MovieScene:Tracks.Tracks UATHelper: Cooking (Windows): LogSavePackage: Warning: LevelSequence /Game/LS_Child.LS_Child (1 refs) UATHelper: Cooking (Windows): LogSavePackage: Warning: 0) ObjectProperty /Script/LevelSequence.LevelSequence:MovieScene PackagingResults: Warning: LevelSequence /Game/LS_Child.LS_Child (1 refs) PackagingResults: Warning: 0) ObjectProperty /Script/LevelSequence.LevelSequence:MovieScene UATHelper: Cooking (Windows): LogWindows: Error: appError called: Can't save '.../TimeWarpBug/Saved/Cooked/Windows/TimeWarpBug/Content/LS_Master.uasset': Illegal reference to private object: 'MovieScene /Game/LS_Child.LS_Child:MovieScene_0' referenced by 'LS_Child' (at '/Game/LS_Child') in its 'MovieScene' property. UATHelper: Cooking (Windows): LogWindows: Error: begin: stack for UAT UATHelper: Cooking (Windows): LogWindows: Error: === Critical error: === UATHelper: Cooking (Windows): LogWindows: Error: UATHelper: Cooking (Windows): LogWindows: Error: Can't save '.../TimeWarpBug/Saved/Cooked/Windows/TimeWarpBug/Content/LS_Master.uasset': Illegal reference to private object: 'MovieScene /Game/LS_Child.LS_Child:MovieScene_0' referenced by 'LS_Child' (at '/Game/LS_Child') in its 'MovieScene' property. UATHelper: Cooking (Windows): LogWindows: Error: UATHelper: Cooking (Windows): LogWindows: Error: UATHelper: Cooking (Windows): LogWindows: Error: end: stack for UAT PackagingResults: Error: appError called: Can't save '.../TimeWarpBug/Saved/Cooked/Windows/TimeWarpBug/Content/LS_Master.uasset': Illegal reference to private object: 'MovieScene /Game/LS_Child.LS_Child:MovieScene_0' referenced by 'LS_Child' (at '/Game/LS_Child') in its 'MovieScene' property. PackagingResults: Error: begin: stack for UAT PackagingResults: Error: === Critical error: === PackagingResults: Error: Can't save '.../TimeWarpBug/Saved/Cooked/Windows/TimeWarpBug/Content/LS_Master.uasset': Illegal reference to private object: 'MovieScene /Game/LS_Child.LS_Child:MovieScene_0' referenced by 'LS_Child' (at '/Game/LS_Child') in its 'MovieScene' property. PackagingResults: Error: end: stack for UATIs Play Rate Curve track support limited to master sequences? Is this by design and/or a known limitation?

Thanks,

Damien

Steps to Reproduce
The attached project contains two sequences: LS_Master, LS_Child. LS_Child is a subsequence of LS_Master and just contains a Play Rate Curve track.

Cooking the data will generate the error:

Can't save '.../TimeWarpBug/Saved/Cooked/Windows/TimeWarpBug/Content/LS_Master.uasset': Illegal reference to private object: 'MovieScene /Game/LS_Child.LS_Child:MovieScene_0' referenced by 'LS_Child' (at '/Game/LS_Child') in its 'MovieScene' property.Tested with 5.5.4

Hello Damien,

I believe this was fixed and will be in the upcoming 5.6 release.

In the meantime, are you able to integrate the fix into your codebase?

https://github.com/EpicGames/UnrealEngine/commit/a665f2d716504b69fc1da8e34c9004d5ad3fbe88

Hello Damien,

Thanks for the clarification. I have a repro now and I created a bug report in our system that you can follow (once it’s been made public):

We’ll need more investigation to determine the fix and I’ll let you know when I find something.

Hello Max,

Thank you for your reply. Actually, I forgot to mention that I saw this CL and tried to backport it already as I suspected it could help but it didn’t. I double checked just now and I still have the same error when cooking with a 5.5.4 patched with this CL unfortunately.

I didn’t test building an editor from Main or 5.6 to check if it’s fixed there but do you think there is any other CL we could try integrating to fix that?

Thanks,

Damien

Hello Damien,

I tested this in Main and it seemed ok for me. Here’s what my sequence looks like:

[Image Removed]Maybe you can try the same? I’ll take a look to see if there’s another CL.

Hello Max,

Thanks! Doing it this way works, and also having a global Play Rate track in the parent sequence seems to work (which is our current workaround). It’s when the Play Rate track is in the subsequence itself that it fails. Is it expected to only have these Time Warp tracks in the parent sequence and never in the subsequences themselves?

Hello Max,

Perfect, thank you! On our end, thanks to what you shared, we can work on the main/parent sequence more easily now. We realized that we could also add that directly to a shot too:

[Image Removed]

I just noticed that the repro project I shared when posting this doesn’t appear to be attached. Sorry about that!

Thanks!