# Data Asset and Save Game

**URL:** <https://forums.unrealengine.com/t/data-asset-and-save-game/510533>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint\
**Created:** [March 29, 2022, 6:40am UTC](https://forums.unrealengine.com/t/data-asset-and-save-game/510533 "2022-03-29T06:40:52Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [November 28, 2025, 9:42pm UTC](https://forums.unrealengine.com/t/data-asset-and-save-game/510533/22 "2025-11-28T21:42:36Z")

</div>

The problem is you can only have THAT type of struct for your inventory array. Instanced structs would be a solution, but a pain if you want to spawn a certain actor class from your inventory: you have to break the instanced struct into all the possible structs it may hold for EACH element, until you find your class.

And data assets are completely useless for this. Insane that they don’t have a solution for this. An inventory that needs saving is a common thing in video games.

---

<div class="post-metadata">

**Author:** ![AdamDodgen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdamDodgen](https://forums.unrealengine.com/u/AdamDodgen)\
**Post date:** [January 7, 2026, 2:23am UTC](https://forums.unrealengine.com/t/data-asset-and-save-game/510533/23 "2026-01-07T02:23:21Z")

</div>

At the end of the day, couldn’t any inventory work as just a map of Data assets (key) to an int (value). The int would be the ‘amount’ of the inventory item represented by the data asset. You wouldn’t even need to save a struct, just the map. Or am I missing something and you’re trying to do something far more complex?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [January 7, 2026, 4:10am UTC](https://forums.unrealengine.com/t/data-asset-and-save-game/510533/24 "2026-01-07T04:10:12Z")

</div>

> [@AdamDodgen](#):
>
> t the end of the day, couldn’t any inventory work as just a map of Data assets (key) to an int (value)

yes if the item data isnt mutable (ie durability) and you dont need to replicate it since Tmaps dont replicate

[Previous page](https://forums.unrealengine.com/t/data-asset-and-save-game/510533.md?page=1)
