Skip to content
AI & Agents
Skill

/ue-data-assets-tables

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',

From plugin
unreal-engine-skills
46831 skills

Claude Code

$ npx -y skills add quodsoler/unreal-engine-skills --skill ue-data-assets-tables --agent claude-code

SKILL.md

ue-data-assets-tables.SKILL.md
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"

UE Data Assets and Tables

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).

Context

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) |

Choosing a Data Container

| 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.

Data Assets

`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`):

  • The default returns type = name of the **first native class** going up the hierarchy (or the highest-level Blueprint class), name = the asset FName.
  • Blueprint subclasses should be authored as Data Only Blueprints, not Data Asset instances, so parent-class edits propagate.
  • Override only when you need a different type/name scheme; inside the class body the declaration is `virtual FPrimaryAssetId GetPrimaryAssetId() const override;`.
  • `UpdateAssetBundleData()` scans `meta=(AssetBundles="Name")` on the class and fills the `AssetBundleData` UPROPERTY during `PreSave`. Bundle names are free-form; `me
Read more
@quodsoler
Ships withunreal-engine-skills

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.

Stars on GitHub

Momentum

stars in total
468
Star history of quodsoler/unreal-engine-skills on GitHub, a chart by star-history.com

Other skills on unreal-engine-skills.

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about ue-data-assets-tables.

Which coding agents can use ue-data-assets-tables?
ue-data-assets-tables installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.