Save Game file problem

So here is the problem. I am doing a piggy fangame and I am also doing the shop where you can buy skins. But for some unknown reason The system I created seems to have a huge error and i cant find what is it!

basically when I add a new skin to the shop I code if the player owns the skin, if they are using it at the moment and the price it should have.

Its suppoused to look like this (Picture took from the UE editor)

In the editor everything seems to work just fine. But when I update the game and export a new .exe this happends:

(Picture took from the actual game exported from unreal engine 4)

For some reason the new skins seems to glitch and they dont show their prices. You cant even buy them wich its weird because in the editor everything works fine.

here are some important thigns you guys might need to know if you want to help me out:

-The Files are loaded and storaged on the game instance (except for the Skins prices those are saved in the shop widget as an Array)
-I use Array variables to save the skins players owns as a boolean variable (true = Player owns it. False = Player doesnt own it)
-I use Save file assets that are loded in the game instance. then the new loaded files are also loded in the game

How can i fix this??

Any help its appreciated!!!

1 Like

Fix found

Thanks to @ClockworkOcean for helping me trying to fix this issue in another post

Bassically I Made my own system to add the missing skins in the saved file

I check the lenght of the loaded save file and substract it the ammount of skins avaliable. The number will be the missing skins. then i add those skins in the array with a “Do N” and when you go yo the shop its finally fixed!!!

1 Like

Very good :smiley:

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