unreal-engine-cpp-pro
Expert guide for Unreal Engine 5.x C++ development, covering UObject hygiene, performance patterns, and best practices.
Author
Category
Development ToolsInstall
Hot:5
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-unreal-engine-cpp-pro&locale=en&source=copy
Unreal Engine C++ Pro
Skill Overview
Unreal Engine C++ Pro offers expert-level C++ programming guidance for UE5 game development, covering best practices for UObject garbage collection, the reflection system, and performance optimization.
Use Cases
Core Features
FAQ
Why should all UObject pointer members be marked with UPROPERTY?
The UPROPERTY macro registers the pointer with Unreal’s garbage collection system. If you don’t mark it with UPROPERTY, GC may reclaim the object, causing the pointer to become a dangling reference. This is one of the most common sources of memory issues in UE5 C++ development.
When should an Actor’s Tick be disabled?
By default, set bCanEverTick to false for all Actors. Tick runs every frame, and in large projects it can significantly impact performance. If you need periodic logic, prefer using Timer (FTimerManager) or an event-driven mechanism instead.
What’s the difference between TSoftObjectPtr and hard references?
Hard references (e.g., TSubclassOf) create dependencies at compile time and force resources to load at startup, which may increase loading times. TSoftObjectPtr is a soft reference that allows asynchronous loading—ideal for large assets and optional dependencies—helping significantly reduce memory usage and startup time.