ue-actor-component-arc…
Use when writing or debugging AActor and UActorComponent C++: constructor vs BeginPlay, PostInitializeComponents, EndPlay…
Use when modelling designer-authored game data in C++ and loading it: data assets, data tables, curve tables, soft references and asset streaming. Also use when the user mentions 'UDataAsset', 'UPrimaryDataAsset', 'UDataTable', 'FTableRowBase', 'FindRow', 'FDataTableRowHandle',
Claude Code
$ npx -y skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables --agent claude-code
Codex
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a codex -y
Cursor
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a cursor -y
Gemini CLI
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a gemini-cli -y
GitHub Copilot
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a github-copilot -y
OpenCode
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a opencode -y
Windsurf
$ npx skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables -a windsurf -y
name: ue-data-assets-tables description: "Use when modelling designer-authored game data in C++ and loading it: data assets, data tables, curve tables, soft references and asset streaming. Also use when the user mentions 'UDataAsset', 'UPrimaryDataAsset', 'UDataTable', 'FTableRowBase', 'FindRow', 'FDataTableRowHandle', 'TSoftObjectPtr', 'TSoftClassPtr', 'FSoftObjectPath', 'UAssetManager', 'LoadPrimaryAsset', 'FStreamableManager', 'RequestAsyncLoad', 'asset bundles', 'PrimaryAssetTypesToScan', 'IAssetRegistry', 'CSV import', or 'hard vs soft reference'. For save games, see ue-serialization-savegames; for UPROPERTY basics, see ue-cpp-foundations; for level streaming, see ue-world-level-streaming." metadata: version: "2.0.0" engine: "5.8"
Target engine: **UE 5.8**. APIs below are verified against the 5.8 headers; older forms are listed under "Deprecated — do not use".
This skill covers designer-authored game data and the loading paths that bring it into memory: `UDataAsset`/`UPrimaryDataAsset`, `UDataTable`/`UCurveTable`, soft references, `FStreamableManager`, `UAssetManager` primary assets and cook rules, `IAssetRegistry` queries, the DataRegistry plugin and `UDeveloperSettings`. Build.cs modules: `Engine` and `CoreUObject` for data assets, tables and soft pointers; `AssetRegistry` for registry queries; `DeveloperSettings` for settings classes; `DataRegistry` for data registries. Deep dives live in [asset loading patterns](references/asset-loading-patterns.md) and [data-driven design patterns](references/data-driven-design.md).
Read `.agents/ue-project-context.md` if it exists (module names, conventions, enabled plugins, custom `UAssetManager` subclass, registered primary asset types). Do not stop if it is missing.
Identify the area from the request and the codebase. Ask only when two plausible readings would produce different code.
| Request is about… | Go to | |---|---| | Picking a container for game data | [Choosing a Data Container](#choosing-a-data-container) | | `UDataAsset`, `UPrimaryDataAsset`, asset bundles | [Data Assets](#data-assets) | | Row structs, CSV/JSON import, `FindRow` | [Data Tables](#data-tables) | | Curves, table composition | [Curve Tables and Composite Tables](#curve-tables-and-composite-tables) | | `TSoftObjectPtr`, `FSoftObjectPath`, memory budget | [References: Hard vs Soft](#references-hard-vs-soft) | | Async loading, handles, priorities | [Async Loading](#async-loading) | | `FPrimaryAssetId`, scanning, bundle states | [Asset Manager](#asset-manager) | | Cooking, chunking, `PrimaryAssetTypesToScan` | [Cook Rules](#cook-rules) | | Finding assets without loading them | [Asset Registry Queries](#asset-registry-queries) | | Sharing rows across sources at runtime | [Data Registry](#data-registry) | | Project-wide tunables in Project Settings | [Project Settings](#project-settings) |
| Need | Use | Header | |---|---|---| | Per-object config, editor-authored, one asset per entry | `UDataAsset` | `Engine/DataAsset.h` | | Same, plus load/unload by id and cook rules | `UPrimaryDataAsset` | `Engine/DataAsset.h` | | Flat rows of identical shape, spreadsheet authored | `UDataTable` + `FTableRowBase` | `Engine/DataTable.h` | | Rows merged from several tables (DLC, overrides) | `UCompositeDataTable` | `Engine/CompositeDataTable.h` | | Float curves keyed by row name | `UCurveTable`, `FCurveTableRowHandle` | `Engine/CurveTable.h` | | One row id resolved across many sources at runtime | `UDataRegistrySubsystem` | `DataRegistrySubsystem.h` | | Project-wide tunables in Project Settings | `UDeveloperSettings` | `Engine/DeveloperSettings.h` |
`UDataAsset` supports Blueprint subclasses and inheritance; `UDataTable` rows do not. `UDataTable` gives lookup by row name out of the box; data assets need an Asset Manager scan or an Asset Registry query to be discoverable.
`UDataAsset` is a plain `UObject` you can instantiate from the Content Browser. `UPrimaryDataAsset` adds `GetPrimaryAssetId()` so `UAssetManager` can scan, load and unload it by id.
// MyWeaponDefinition.h
#pragma once
#include "CoreMinimal.h"
#include "Engine/DataAsset.h"
#include "MyWeaponDefinition.generated.h"
class UTexture2D; class USkeletalMesh; // TSoftObjectPtr<T> needs T declared
UCLASS(BlueprintType)
class MYGAME_API UMyWeaponDefinition : public UPrimaryDataAsset
{
GENERATED_BODY()
public:
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Weapon")
FText WeaponName;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Weapon")
float FireRate = 1.f;
/** Written into the Asset Registry so it can be filtered without loading. */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Weapon", AssetRegistrySearchable)
FName WeaponClassTag;
/** Bundles group soft references so the Asset Manager can load a subset. */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Art", meta = (AssetBundles = "UI"))
TSoftObjectPtr<UTexture2D> Icon;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Art", meta = (AssetBundles = "Game"))
TSoftObjectPtr<USkeletalMesh> WorldMesh;
};`GetPrimaryAssetId()` rules (`Engine/DataAsset.h:36-53`):
A collection of 31 AI agent skills for Unreal Engine C++ development. Built for game developers who want AI coding agents to help write correct, production-quality UE5 C++ code.
Use when writing or debugging AActor and UActorComponent C++: constructor vs BeginPlay, PostInitializeComponents, EndPlay…
Use when writing Unreal Engine C++ AI — AI controllers, behavior tree nodes, blackboards, AI perception, navmesh pathfinding, EQS…
Use when writing or debugging Unreal Engine animation C++: AnimInstance subclasses, thread-safe update, FAnimInstanceProxy,…
Use when offloading work off the game thread, dispatching results back to it, running data-parallel loops, or scheduling timers…
Use when playing, mixing or debugging sound in Unreal Engine — one-shot SFX, looping ambience, music, dialogue or procedural…
Use when exposing C++ to Blueprint or calling Blueprint from C++: UFUNCTION(BlueprintCallable), BlueprintPure,…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…