Converted a copy of my project to the 4.17 preview this morning to make sure everything was working correctly and unfortunately I get a crash in one of my maps when it tries to play a level sequence. This issue only seems to happen if your project was converted from 4.16 and the sequence you’re trying to play is in a sublevel.
I was able to repro this with the following steps:
- Create a C++ project in 4.16 using the blank template.
- Save the default level that is open when the project loads.
- Create a new map and add it as a sublevel to the default level.
- Create a level sequence add place it in the sublevel. I also added a cube with a track in the sequence that moved it so I could see if it was working.
- In the persistent level’s blueprint’s BeginPlay call LoadStreamLevel with your sublevel’s name, Make Visible After Load and Should Block on Load set to true.
- In the sublevel’s BeginPlay call Play on your LevelSequence’s SequencePlayer.
- Close the project and switch the engine version to 4.17.
- Reopen the project and PIE. If you stop PIE you should get an error saying it tried to access None.
I found that if I just set the sequence to auto-play or added a 1 second delay I didn’t run into this issue so it seems like there’s some odd delay with trying to load the sequence or something. Also attaching the repro project I made.