RealDocs

AGameModeBase::ReplaySpectatorPlayerControllerClass

property Engine Blueprint Since 4.14
#include "GameFramework/GameModeBase.h"
Access: public Specifiers: UPROPERTYEditAnywhereNoClearBlueprintReadOnly

Description

The PlayerController subclass spawned when watching a network replay. Override with a custom class to add scrubbing controls, stat overlays, or replay-specific camera logic.

Caveats & Gotchas

  • This controller is only spawned during replay playback, not during live spectating. Do not conflate with SpectatorClass.
  • Replay playback runs the game in a non-authoritative mode — avoid logic in this controller that assumes server authority or modifies game state.

Signature

UPROPERTY(EditAnywhere, NoClear, BlueprintReadOnly, Category=Classes)
TSubclassOf<APlayerController> ReplaySpectatorPlayerControllerClass

Version History

Introduced in: 4.14

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.