Think of Unreal Engine’s Asset Manager as the game’s librarian. It keeps a catalogue and handles requests, while the game decides what to fetch, keep and release.
Books, shelves and call numbers
Primary assets are the books the game can ask for directly. Their primary asset types are shelves or genres: Weapon, Armor and Quest organise the catalogue.
A primary asset ID is the book’s call number: type + name. For example, Weapon:SwordOfDawn identifies SwordOfDawn in the Weapon category. It is a logical ID, not a file path.
Resources without their own primary IDs are secondary assets, reached through references from other assets.
Recipe cards describe what you need
A Primary Data Asset is like a recipe card the librarian can catalogue: an editable description of an item or quest. A sword’s card might record its price and references to an icon, model and sound.
Reading a recipe does not mean every ingredient is fetched. A hard reference can load a resource with the card; a soft reference is an address that does not fetch it automatically. These reference choices are separate from primary/secondary status. Hard references can make a small preview load much more than intended.
Bundles are packing lists: groups of soft references for a particular use. You might define Preview for displaying the item and InGame for its model and sounds during play. Those names belong to your project.
An imaginary shop
- List registered
WeaponIDs. Obtain the shop’s display information from small recipe cards loaded as needed, or fields deliberately exposed in the catalogue. Listing IDs alone does not load cards or provide their contents. - On hover, request
Weapon:SwordOfDawnwith itsPreviewpacking list. - On equip, request the same card with its
InGamepacking list.
Asynchronous loading may finish later, so wait for completion before using requested data. Asking for InGame does not automatically remove Preview.
Explicitly release unneeded bundle loads and unload cards, checking whether other systems still need them. Other references may keep resources in memory after the manager lets go.
Catalogue queries, load requests and retention
UAssetManager::GetPrimaryAssetIdList enumerates registered IDs. LoadPrimaryAssetsWithType actually loads the type-wide set. Display fields can instead come from deliberately exposed registry metadata: catalogued fields readable without loading the asset.
LoadPrimaryAssets loads asynchronously and retains assets until explicit unload; callers do not need to keep its returned handle for that manager retention. UnloadPrimaryAssets releases it. ChangeBundleStateForPrimaryAssets manages bundle additions and removals.
Set up the catalogue
The engine class behind these recipe cards, UPrimaryDataAsset, already implements identification. Maps also have built-in primary support. You can start without writing a custom Asset Manager.
- Choose the class your records are based on and an ID scheme. Check each asset’s reported type and ID; adding a shelf label does not rewrite them.
- Under Project Settings → Asset Manager, match that type, base class and search folders. Choose whether to discover individual data records or Blueprint classes, according to how you created the assets. Confirm they appear in the catalogue.
- Set up soft references and bundles for the resources each use needs.
- Name-based IDs may change after a rename. Plan migration and ID/type redirects where needed to map old IDs to new ones, then check saved IDs.
How default primary IDs are chosen
For UPrimaryDataAsset, the default type follows the class hierarchy: the first native class encountered upward, or the highest Blueprint class where applicable. The name is usually the asset’s short name. Override GetPrimaryAssetId when a different scheme is needed.
Check stored primary IDs separately rather than assuming an object-path redirector also migrates them.
Choose what ships with the game
Cooking means preparing the files that ship in the game. It is separate from loading while playing: Async is not a cook rule, and AlwaysCook includes content in the build without keeping it permanently loaded. Naming a bundle EditorOnly does not exclude its contents from shipping.
Primary Asset Labels group assets, collections or folders for cooking and chunks—groups of packaged content. Labels can themselves be cooked for runtime use. They do not create patching or platform delivery on their own.
Check that the packaged game contains what your requests need, then measure memory and loading behaviour.


