Subsystem available in Game and Editor

Hi, I’m looking into the Subsystem… system. If I create a class that inherits from UGameInstanceSubsystem, I’ll be able to retrieve it using UGameInstance::GetSubsystem(const UGameInstance* GameInstance).

This class will be available when playing the game either in editor (EWorldType::PIE) or as a release package (EWorldType::Game). However, it won’t be available when using the sequencer editor (EWorldType:Editor).
In that case, I think I’d have to have a class that inherits from UEditorSubsystem. But what if I want a class that can be used in Game, PIE *and *Editor? What subsystem should I inherit from then?

1 Like

UEngineSubsystem

1 Like