ue-gameplay-framework

Explain Unreal Engine gameplay framework class responsibilities and lifecycle hooks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/thilthpc01208/unreal-engine-skills --skill ue-gameplay-framework-thilthpc01208
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-gameplay-framework
Source: https://github.com/thilthpc01208/unreal-engine-skills/tree/main/skills/ue-gameplay-framework
Command: npx skills add https://github.com/thilthpc01208/unreal-engine-skills --skill ue-gameplay-framework-thilthpc01208

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Unreal Engine developers often struggle to organize and apply the gameplay framework (GameMode, GameState, PlayerController, PlayerState, Pawn, Character, GameInstance) consistently across single-player and multiplayer setups. This skill provides a structured understanding of class responsibilities, lifecycle hooks, replication patterns, and how these components interact, enabling robust match flow and player management.

Core Features & Use Cases

  • Authority and lifecycle guidance for GameMode/GameState and per-player data flows across server and clients.
  • Input, camera, and UI integration patterns via PlayerController and ACharacter/CharacterMovementComponent usage, with recommended configuration for networking and prediction.
  • Reference-driven patterns including class map authority matrix and travel semantics to design scalable Unreal Engine gameplay architectures.
  • Use Case: Design a multiplayer match flow with spawn logic, replication, and seamless travel while preserving PlayerState and GameInstance data.

Quick Start

Provide a concise, practical starting point by reviewing the SKILL.md and references/framework-class-map.md to align with class responsibilities before implementing gameplay features.

Frequently Asked Questions about ue-gameplay-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a multiplayer match flow in Unreal Engine with proper replication?

To set up multiplayer match flow in Unreal Engine, use GameMode for authoritative spawning and GameState for replicated match data. PlayerController handles client-side input, while PlayerState preserves per-player data across server and clients during seamless travel.

What are the lifecycle responsibilities of GameMode and GameState in Unreal Engine?

GameMode and GameState responsibilities in Unreal Engine define authoritative match flow and spawning logic. GameMode manages rules and player spawning on the server, while GameState replicates read-only match data to all connected clients throughout the game lifecycle.

How does PlayerController handle input and camera setup for Unreal Engine characters?

PlayerController manages input and camera setup for Unreal Engine characters by routing client inputs to the server and linking the viewport to a Pawn. ACharacter and CharacterMovementComponent then process movement with networking and prediction configurations.

Can I preserve PlayerState and GameInstance data during seamless travel in Unreal Engine?

You can preserve PlayerState and GameInstance data during seamless travel in Unreal Engine by leveraging their persistent lifecycle hooks. GameInstance survives level transitions entirely, while PlayerState automatically transfers across maps when using seamless travel semantics.

What is the best way to map authority and replication patterns across Unreal Engine gameplay classes?

The best way to map authority and replication patterns across Unreal Engine gameplay classes is using a class map authority matrix. This framework documents server versus client responsibilities for GameMode, GameState, PlayerController, and Pawn to ensure scalable architectures.

When should I use GameInstance instead of GameState for storing data in Unreal Engine?

Use GameInstance instead of GameState in Unreal Engine when storing data that must persist across entire sessions and level transitions. GameState is designed for replicated match-specific data, while GameInstance handles cross-session metadata unaffected by seamless travel.