G

Guide Unreal Engine Developer

Powerful agent for expert, unreal, engine, developer. Includes structured workflows, validation checks, and reusable patterns for game development.

AgentClipticsgame developmentv1.0.0MIT
0 views0 copies

Unreal Engine Developer Guide

Your agent for Unreal Engine game development — covering Blueprint visual scripting, C++ gameplay programming, material systems, and UE-specific architecture patterns.

When to Use This Agent

Choose Unreal Engine Developer Guide when:

  • Developing games or applications in Unreal Engine 5
  • Writing C++ gameplay code with UE5 frameworks
  • Creating Blueprint visual scripts for rapid prototyping
  • Building materials, particle systems, and visual effects
  • Implementing Unreal-specific systems (Gameplay Ability System, Enhanced Input)

Consider alternatives when:

  • You need Unity development — use a Unity agent
  • You need Godot development — use a Godot agent
  • You need web-based 3D — use a 3D Navigator agent

Quick Start

# .claude/agents/unreal-developer.yml name: Unreal Engine Developer Guide model: claude-sonnet tools: - Read - Write - Edit - Bash - Glob - Grep description: Unreal Engine 5 development agent for C++ gameplay, Blueprints, materials, and UE architecture patterns

Example invocation:

claude "Implement a Gameplay Ability System setup for a multiplayer action RPG — character attributes, basic attack ability, cooldown management, and replicated ability activation"

Core Concepts

Unreal Engine Architecture

SystemPurposeKey Classes
Gameplay FrameworkPlayer, controller, game modeACharacter, APlayerController, AGameModeBase
Gameplay Ability SystemAbilities, effects, attributesUGameplayAbility, UGameplayEffect, UAttributeSet
Enhanced InputModern input handlingUInputAction, UInputMappingContext
SubsystemsModule-level servicesUGameInstanceSubsystem, UWorldSubsystem
Data AssetsRuntime data containersUDataAsset, UPrimaryDataAsset

UE5 Project Structure

Source/MyGame/
ā”œā”€ā”€ MyGame.Build.cs                # Build configuration
ā”œā”€ā”€ Core/
│   ā”œā”€ā”€ MyGameGameMode.h/cpp       # Game rules and spawning
│   ā”œā”€ā”€ MyGamePlayerController.h/cpp
│   └── MyGameCharacter.h/cpp
ā”œā”€ā”€ Abilities/
│   ā”œā”€ā”€ MyAbilitySystemComponent.h/cpp
│   ā”œā”€ā”€ MyGameplayAbility.h/cpp
│   └── MyAttributeSet.h/cpp
ā”œā”€ā”€ UI/
│   ā”œā”€ā”€ MyHUD.h/cpp
│   └── Widgets/
└── Subsystems/
    └── MyGameSubsystem.h/cpp

Configuration

ParameterDescriptionDefault
ue_versionUnreal Engine version5.4
languagePrimary language (cpp, blueprint, both)both
networkingMultiplayer support (none, listen, dedicated)none
render_modeRendering (lumen, nanite, mobile)lumen
input_systemInput approach (enhanced, legacy)enhanced

Best Practices

  1. Use UPROPERTY and UFUNCTION macros consistently. All exposed variables need UPROPERTY() with appropriate specifiers (EditAnywhere, BlueprintReadWrite, Replicated). All functions accessible from Blueprints need UFUNCTION(). Missing macros cause reflection system failures and silent bugs.

  2. Implement gameplay systems in C++, expose to Blueprints. Write core systems (abilities, AI, networking) in C++ for performance and version control. Create Blueprint-friendly interfaces (BlueprintCallable, BlueprintImplementableEvent) for designers to extend without touching C++.

  3. Use the Gameplay Ability System for ability-based games. GAS provides attribute management, ability activation, cooldowns, costs, and effects out of the box. Building a custom ability system is significantly more work for the same functionality.

  4. Leverage Subsystems for global services. Instead of singletons, use UGameInstanceSubsystem for persistent services and UWorldSubsystem for level-scoped services. Subsystems are automatically created and destroyed by the engine.

  5. Profile with Unreal Insights, not just the editor. Unreal Insights provides detailed CPU, GPU, memory, and network profiling. Build the Development configuration, run with -trace=default, and analyze the trace in Unreal Insights for accurate performance data.

Common Issues

Hot Reload causes crashes or stale data. Hot Reload in UE5 is unreliable for class structure changes. Use Live Coding for small code changes, and do a full editor restart for header changes, new UPROPERTY/UFUNCTION additions, or class hierarchy modifications.

Replicated variables don't sync in multiplayer. UPROPERTY(Replicated) requires GetLifetimeReplicatedProps() implementation with DOREPLIFETIME(). For custom replication conditions, use DOREPLIFETIME_CONDITION(). Check that the actor has bReplicates = true in the constructor.

Blueprint graph becomes unmaintainable spaghetti. Large Blueprints with hundreds of nodes are hard to debug and review. Break complex logic into Blueprint Functions, use Blueprint Interfaces for communication, collapse node clusters into named functions, and move performance-critical or complex logic to C++.

Community

Reviews

Write a review

No reviews yet. Be the first to review this template!

Similar Templates