UGameFeaturesSubsystem (API) + Lyra Sample Game
source: https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Plugins/GameFeatures/UGameFeaturesSubsystem ; https://dev.epicgames.com/documentation/en-us/unreal-engine/lyra-sample-game-in-unreal-engine?application_version=5.8 version: Unreal Engine 5.8 API Reference (WebFetch) + UE 5.8 Lyra doc (curl) fetched: 2026-10-11
Excerpts
- UGameFeaturesSubsystem: The manager subsystem for game features. class UGameFeaturesSubsystem : public UEngineSubsystem. GameFeaturePluginStateMachines: "The list of all game feature plugin state machine objects".
- IsGameFeaturePluginInstalled: in the Installed state (or beyond); IsGameFeaturePluginRegistered: Registered state (or beyond); IsGameFeaturePluginLoaded: Loaded state (or beyond); IsGameFeaturePluginActive: Active state; IsGameFeaturePluginMounted: beyond the Mounting state; IsGameFeaturePluginInErrorState.
- ChangeGameFeatureTargetState(PluginURL, EGameFeatureTargetState, ...): Changes the target state. RegisterGameFeaturePlugin; LoadGameFeaturePlugin; LoadAndActivateGameFeaturePlugin; DeactivateGameFeaturePlugin "Transition to [Terminal, Loaded]"; UnloadGameFeaturePlugin(bKeepRegistered); ReleaseGameFeaturePlugin; TerminateGameFeaturePlugin "remove all associated plugin tracking data"; UninstallGameFeaturePlugin.
- DetermineBuiltInInitialFeatureState(Descriptor): Determine the initial feature state for a built-in plugin; ConvertInitialFeatureStateToTargetState(EBuiltInAutoState). LoadBuiltInGameFeaturePlugins(AdditionalFilter, ...). Plugin URLs: file: protocol and installbundle: protocol.
- Lyra (5.8 doc): Lyra makes use of the Gameplay Feature Plugins, this means that the Content folder only contains generic assets and the main lobby, however, the plugins folder contains the different core elements. When a game experience is chosen inside the lobby, the game will load the plugins that are required. Experiences are defined using a LyraExperienceDefinition class ... think of experiences as a much more advanced version of a GameMode. Team Death Match and Control Points both use the ShooterCore plugin. Most of the maps are located inside game feature plugins.