unreal-engine-cpp-pro

Featured

Expert guide for Unreal Engine 5.x C++ development, covering UObject hygiene, performance patterns, and best practices.

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Unreal Engine C++ Pro This skill provides expert-level guidelines for developing with Unreal Engine 5 using C++. It focuses on writing robust, performant, and standard-compliant code. ## When to Use Use this skill when: - Developing C++ code for Unreal Engine 5.x projects - Writing Actors, Components, or UObject-derived classes - Optimizing performance-critical code in Unreal Engine - Debugging memory leaks or garbage collection issues - Implementing Blueprint-exposed functionality - Following Epic Games' coding standards and conventions - Working with Unreal's reflection system (UCLASS, USTRUCT, UFUNCTION) - Managing asset loading and soft references Do not use this skill when: - Working with Blueprint-only projects (no C++ code) - Developing for Unreal Engine versions prior to 5.x - Working on non-Unreal game engines - The task is unrelated to Unreal Engine development ## Core Principles 1. **UObject & Garbage Collection**: * Always use `UPROPERTY()` for `UObject*` member variables to ensure they are tracked by the Garbage Collector (GC). * Use `TStrongObjectPtr<>` if you need to keep a root reference outside of a UObject graph, but prefer `addToRoot()` generally. * Understand the `IsValid()` check vs `nullptr`. `IsValid()` handles pending kill state safely. 2. **Unreal Reflection System**: * Use `UCLASS()`, `USTRUCT()`, `UENUM()`, `UFUNCTION()` to expose types to the reflection system and Blueprints. * Minimize `BlueprintReadWrite` w...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category