I having trouble with saving a component . Everything works fine with normal variables.
Here is where i write my data to save file. This event got called whenever there are changes in inventory.
And here is where i retrieve the data from save file. In run time, the data in save file is correct but when i close the PIE and re-open, all component’s data got reset.

