ue-gameplay-framework

Explain Unreal Engine gameplay class authority, replication, and player lifecycle.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill clarifies the complex roles and responsibilities of Unreal Engine's core gameplay classes (GameMode, GameState, PlayerController, Pawn, etc.), preventing common multiplayer bugs and ensuring correct architecture.

Core Features & Use Cases

  • Class Authority: Understand which classes exist on the server, clients, or both.
  • Replication Logic: Learn where to place replicated data and how to implement RPCs.
  • Lifecycle Management: Grasp the player join/leave sequence and seamless travel mechanics.
  • Use Case: When designing a multiplayer game, use this Skill to determine that player scores should be stored in APlayerState and replicated to all clients, while input handling logic belongs in APlayerController.

Quick Start

Explain the difference between AGameMode and AGameState in Unreal Engine.

Frequently Asked Questions about ue-gameplay-framework

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

FAQPage Schema
What is the difference between GameMode and GameState in Unreal Engine multiplayer?

In Unreal Engine multiplayer, GameMode exists only on the server and defines game rules, while GameState exists on both server and clients to sync replicated game data like scores. GameMode handles spawning logic, whereas GameState broadcasts state to all connected players.

How do I handle player join and leave lifecycle events in Unreal Engine 5?

Unreal Engine 5 handles the player lifecycle through PlayerController and PlayerState classes. PlayerController manages input and exists only on the owning client and server, while PlayerState tracks persistent player data like scores, replicating join and leave states seamlessly across the network.

Where should I store player score data for replication in Unreal Engine?

Player score data in Unreal Engine should be stored in the PlayerState class. PlayerState replicates to all clients, ensuring every player sees consistent scores. Avoid placing replicated score variables in the Pawn, which only represents the physical avatar and has limited network authority.

Does Unreal Engine gameplay framework support seamless travel for multiplayer sessions?

Unreal Engine gameplay framework supports seamless travel to preserve player continuity across maps. Seamless travel mechanics carry PlayerController and Pawn references forward without dropping the connection, preventing client disconnects during server transitions and maintaining active replication states.

Why does my Unreal Engine RPC fail to execute on the server?

Unreal Engine RPCs fail on the server when called from unauthoritative clients or without proper replication setup. Ensure the calling actor has replication enabled, verify the RPC direction, and confirm the PlayerController has authority. Server RPCs require the caller to be owned by the local client.

Can I use PlayerController for client-side input handling in Unreal Engine?

PlayerController in Unreal Engine is designed for client-side input handling. It exists on both the owning client and the server, parsing input and translating it into actions. Movement and interaction logic should route through the PlayerController before replicating resulting state changes to the server.