ue-cpp-foundations

Explain Unreal Engine C++ concepts including properties, functions, and memory management.

1|Updated Jul 5, 2026
One-click install
npx skills add https://github.com/alexrios/ArenaGame --skill ue-cpp-foundations-alexrios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-cpp-foundations
Source: https://github.com/alexrios/ArenaGame/tree/main/.claude/skills/ue-cpp-foundations
Command: npx skills add https://github.com/alexrios/ArenaGame --skill ue-cpp-foundations-alexrios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps developers quickly understand and apply Unreal Engine's C++ features for game development, addressing common challenges with properties, functions, and architecture.

Core Features & Use Cases

  • UE C++ Syntax: Detailed explanations and examples for UPROPERTY, UFUNCTION, UCLASS, and other macros.
  • Containers & Data Structures: Deep dives into TArray, TMap, TSet, TOptional, and TVariant for efficient data management.
  • Delegates & Callbacks: Best practices for creating and using delegates for event-driven programming.
  • Strings: Guidance on using FName, FString, and FText for robust string handling.
  • Memory & GC: Understanding UObject lifetime, garbage collection, and memory management with TObjectPtr and TWeakObjectPtr.
  • Logging: Tips on using UE_LOG for effective debugging and monitoring.
  • Subsystems: Overview of UGameInstanceSubsystem, UWorldSubsystem, ULocalPlayerSubsystem, and UEngineSubsystem for managing game state.
  • Replication: Techniques for replicating properties and handling networked gameplay.
  • Conditional Compilation: Utilizing guards like WITH_EDITOR for building specific configurations.
  • Common Mistakes: Avoiding common pitfalls in UE C++ development.

Quick Start

Use the ue-cpp-foundations skill to get an overview of UPROPERTY usage in Unreal Engine C++.

Frequently Asked Questions about ue-cpp-foundations

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

FAQPage Schema
How do I use UPROPERTY and UFUNCTION macros in Unreal Engine C++?

Unreal Engine C++ utilizes UPROPERTY and UFUNCTION macros to expose variables and functions to the editor, Blueprints, and networking. This skill provides detailed explanations and examples for these and other essential macros.

What is the difference between TArray, TMap, and TSet for data management in UE C++?

TArray, TMap, and TSet are Unreal Engine C++ containers where TArray offers dynamic arrays, TMap provides key-value pairs, and TSet stores unique elements. This skill details these alongside TOptional and TVariant for efficient data management.

When do I need FName, FString, or FText for string handling in Unreal Engine?

You need FName for fast case-insensitive comparisons, FString for general string manipulation, and FText for localized text in Unreal Engine. This skill provides guidance on robust string handling across these distinct types.

How does garbage collection work with UObject and TObjectPtr in Unreal Engine C++?

Garbage collection in Unreal Engine automatically manages UObject lifetime, automatically destroying unreferenced objects. This skill explains memory management using TObjectPtr and TWeakObjectPtr to safely handle object references.

Do I need prior C++ experience to use Unreal Engine subsystems for game state management?

Yes, a basic understanding of Unreal Engine and C++ is required to manage game state with subsystems. This skill covers UGameInstanceSubsystem, UWorldSubsystem, ULocalPlayerSubsystem, and UEngineSubsystem for game state management.

What are common mistakes and pitfalls when developing with UE C++?

Common mistakes in UE C++ development include hardcoding strings instead of using FText, ignoring conditional compilation guards like WITH_EDITOR, and mismanaging delegate bindings. This skill highlights pitfalls to avoid for robust game development.