Hey, I’m trying to work out a good solution for manipulating, controlling and progressing data over the course of a game.
I’ve resently been looking at Data Assets and they seem like a good way to control data say for a character, weapon, etc. similar to Scribtable Objects in Unity.
Here’s example screenshots:
Simple ‘Weapon data’ stuct, kept it bare bones for now
This struct is implamented within a Primary Data asset that has simple methods to manipulate and return the data.
Blueprint that contains the data asset.
The problem I’m running into is that run in editor I can get and set the data within the data asset and it stays changed even when the level changes. But, in a built version the data will revert back to the origial value upon level change.
I’m wondering if I am using these data assets not for their intended purpose? or what might be a relitivly optimal solution for doing something like this within blueprint;
- Storing the data into an instance (though this doesn’t feel right)
- saving and loading (for all stat changes?)
- Would streaming in the data assets work?
- Am I missing something with the asset manager?
Any help, advise or even a better solution would be massivly apreciated!