Im i Using Data asset Wrong?

So im using Data asset to store items, and their state as ‘Unlocked and locked’

I want to make a progression system, so what i did is the way it’s constructed is with data Assets that im using to store each items state, Price etc…

the Problem im facing is that when ever an item is unlocked it will stay unlocked even if i started a new save file, because the changes I made is (for some reason) saved in the items so when it’s trying to construct the grid of store items again, it presumes that the item is unlocked even though the player never unlocked it in that save file.

I’m I using Data asset wrongly? isn’t that how their suppost to be used?

please i would appreciate any feedback on that

Data assets are meant to be (mostly) data only, and are not made to keep a persistent state

You should probably move the required unlock states to the save file somehow, perhaps with an array of unlocked items

1 Like

Thank you for the fast respond :heart::heart:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.