unreal

Guides Unreal Engine 5 gameplay development with C++, Blueprints, replication, and engine APIs.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill unreal-lynricsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unreal
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/unreal
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill unreal-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Unreal Engine 5 code often compiles cleanly yet fails later through garbage-collected dangling pointers, broken replication contracts, editor-only module dependencies, and per-frame budget blowouts. This Skill encodes the verified UE 5.8 rules for reflection, ownership, networking, ticking, and packaging so those defects are caught at write or review time instead of in a crash report. ## Core Features & Use Cases - Reflection and ownership rules: Enforces UPROPERTY/TObjectPtr discipline, GENERATED_BODY placement, class prefixes, and GC lifetime rules so headers survive review and runtime collection. - Multiplayer correctness: Covers the full replication contract (GetLifetimeReplicatedProps, bReplicates, RPC direction, WithValidation, RepNotify semantics) and Gameplay Ability System boundaries. - Structured workflows: Provides implement, review, debug-a-crash, optimize-a-frame, and ship-a-build checklists with explicit gates, plus ten topic references covering Enhanced Input, Lumen/Nanite, Niagara, UMG, Chaos physics, modules, and automation tests. - Use Case: A reviewer receives a pickup actor that crashes seconds after spawn and a health component that never replicates; the Skill walks the headers for unreflected pointers and the network boundary for missing DOREPLIFETIME registration, reporting findings with path, line, trigger, and fix. ## Quick Start Ask the agent to review your Unreal Engine C++ header and component files for reflection, ownership, and replication defects using the unreal skill.

Frequently Asked Questions about unreal

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

FAQPage Schema
How do I fix Unreal Engine crashes caused by garbage collection?

GC crashes usually mean a UObject is held only by an unreflected raw pointer the collector cannot see. Add UPROPERTY() TObjectPtr<T> for owned members, use TWeakObjectPtr with Pin() on worker threads, and reproduce with gc.CollectGarbageEveryFrame to make the lifetime bug deterministic.

Why is my replicated property not updating on clients in Unreal Engine?

A replicated property needs four parts: the Replicated specifier, registration in GetLifetimeReplicatedProps with DOREPLIFETIME, bReplicates on the owning actor, and SetIsReplicatedByDefault on components. Missing any one means the value never leaves the server.

When should I use TObjectPtr versus raw pointers in UE5?

Use UPROPERTY() TObjectPtr<T> for owned UObject members in UE5 because it enables the GC write barrier and cook-time dependency tracking. Raw UPROPERTY pointers still work but buy none of that, and TObjectPtr is only GC-safe as a UPROPERTY.

Why does my Unreal project compile in the editor but fail to package?

The usual cause is a runtime module depending on an editor-only module such as UnrealEd, which does not exist in packaged targets. Move editor code into an Editor-type module or gate it with WITH_EDITOR and Target.bBuildEditor.

Does this skill cover Unity or Godot game development?

No, it covers only Unreal Engine 5 and explicitly defers Unity and Godot to their own skills. It also hands off plain engine-free C++ to a general C++ skill and visual UI design principles to a frontend-design skill.

How do I reduce per-frame tick cost in an Unreal component?

Measure first with stat unit and stat game, then remove per-frame full-world queries in favor of cached event-driven sets, use tick intervals or timers instead of every-frame ticks, and move physics-dependent traces to TG_PostPhysics. Re-measure the same scene to confirm the improvement.