Skip to content

UExperimentDemoSubsystem::OnReplayEnded

Class: UExperimentDemoSubsystem

Marks replay playback as ended and returns all replay and recording state to its initial values, so the reloaded gameplay world starts clean: a later watched replay does not re-enter the frame-capture path, auto demo recording can trigger again, and pawn lookups do not go through the dead replay pawn's cached name.

Syntax

void UExperimentDemoSubsystem::OnReplayEnded()

Remarks

Called by the spectator controller when the replay finishes.