LevelSequence Crash in Debug Editor

Summary

I have experienced a crash while playing level sequence with Debug Editor environment.
It’s not occur in DebugGame or Development.

I bind a function to OnFinish Delegate before starting first play.

While finishing MovieSceneSequencePlayer in FinishPlaybackInternal function.
StopInternal function called and cleanup FMovieSceneSpawnRegister
then OnFinished delegate broadcast.
replay the same sequence and crash editor.

I’m suspicious FMovieSceneEntitySystemRunner EndEvaluation function.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Memory

Steps to Reproduce

**Source Debug Editor Build 5.4.4 **

  1. Create a LevelSequence
  2. Play the sequence
  3. When calling finished delegate, play again the same sequence what was just finished
  4. Engine Crash produce

Expected Result

No Crash

Observed Result

Access Dangling pointer of FMovieSceneSpawnRegister

Platform(s)

Windows10, 11

Thanks for the report. I’m pretty sure this is fixed for 5.5 with this:
https://github.com/EpicGames/UnrealEngine/commit/690f861bebce12f2b51cc030aa8951eba2e9fa30

1 Like