# How to store data in UE5?

**URL:** <https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5, question, Blueprint, custom-inventory-and-items\
**Created:** [January 14, 2026, 3:39pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118 "2026-01-14T15:39:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erykus102938](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erykus102938](https://forums.unrealengine.com/u/Erykus102938)\
**Post date:** [January 14, 2026, 3:39pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118/1 "2026-01-14T15:39:38Z")

</div>

I’m making an inventory system and I got stuck on making data values for my items. I want to store preset properties like the default item weight or sharpness for each one of my items but I don’t know what the correct way of doing so is. Thank you in advance!

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [January 14, 2026, 3:49pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118/2 "2026-01-14T15:49:54Z")

</div>

Well common approach is to use either DataTables or DataAssets sometimes mix of both/more depending on the design needs.

DataTables : Basically you can create ItemDictionaries and Items in it and store them (static)  
DataASset : It’s like structs, FItemDefination

To start with depending on the game the defination of item can be many, I suggest going with categories too (Equipment, Consumable, Reagent, Ammunition)  
[Here](https://www.youtube.com/watch?v=XIsQlZ_0Eps&list=PL2gceESpdf6mf8Z1NnSwdGenD_Q3ln4yo) is a table data driven simple approach.

```auto
DisplayName
Weight
Sharpness
Icon
WorldMesh
Category (Equipment, Consumable, Reagent, Ammunition, etc.) // Enums are good

```

The more granular design it has its better so its pattenized.

After populating (looting, getting, rewarding) player’s inventory with items, simply you can save structs of inventory data in your SaveGame. For save game [this](https://www.youtube.com/watch?v=H6rqJbwjRIk) tutorial is something extendable in its own terms.

---

<div class="post-metadata">

**Author:** ![tyconner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tyconner/32/1203517_2.png) [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Post date:** [January 14, 2026, 3:50pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118/3 "2026-01-14T15:50:21Z")

</div>

There are two solutions that come to mind.  
[Data Table | Unreal Engine 5.7 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/BlueprintAPI/DataTable)  
[Data Assets in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/data-assets-in-unreal-engine)

One thing I have seen that I would avoid: Avoid having a large amount of master classes that use lots of modified class defaults to achieve this. This makes it hard to efficiently edit properties as well as makes you check out assets just to change numerical/data values (If you are using source control)

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [January 14, 2026, 3:55pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118/4 "2026-01-14T15:55:31Z")

</div>

That’s true and good addition.

As a side note: both has its downsides and upsides.

Data tables are generally good with stats however direct referencing assets like mesh etc, not the best thing. So mix of both is good.

A personal recommendation as design principle : Item & ItemStats would be much much better if they work seperate (structs, data whatever) since one item can have multiple stats, can need change, update so that keeping stats in Json more easy managable like data tables is recommended still have to mention it’s my taste.

---

<div class="post-metadata">

**Author:** ![tyconner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tyconner/32/1203517_2.png) [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Post date:** [January 14, 2026, 4:01pm UTC](https://forums.unrealengine.com/t/how-to-store-data-in-ue5/2692118/5 "2026-01-14T16:01:39Z")

</div>

Absolutely. A good case study of something like this would be how MOBAs or frequently updating balancing games handle stuff like this. They actually update their information from JSON requests on web. So they are realtime and able to edit any properties/stats on the fly without touching anything inside editor/game code.
