Search found 5 matches

by Le_Clair
Thu Nov 18, 2021 2:48 am
Forum: General Discussion
Topic: How to not overwrite player save file in new build?
Replies: 1
Views: 564

How to not overwrite player save file in new build?

Hi, I am preparing to release a game using ES3. https://store.steampowered.com/app/1697940/The_Whisperer/ Now that I am testing and building different versions of the game, I found a (kind of) big issue. If the player has a save file and I update the game, their savefile will be overwritten. If I bu...
by Le_Clair
Wed Dec 30, 2020 10:00 pm
Forum: General Discussion
Topic: ScriptableObjects references lost between scenes
Replies: 9
Views: 2404

Re: ScriptableObjects references lost between scenes

I just found a solution! I simply added [ES3Nonserializable] to the fields and it now works since I don't need those values to be saved
by Le_Clair
Wed Dec 30, 2020 8:56 pm
Forum: General Discussion
Topic: ScriptableObjects references lost between scenes
Replies: 9
Views: 2404

Re: ScriptableObjects references lost between scenes

No they are not, but I save the inventory before a scene is loaded and I load the inventory after the scene is loaded.
by Le_Clair
Wed Dec 30, 2020 8:25 pm
Forum: General Discussion
Topic: ScriptableObjects references lost between scenes
Replies: 9
Views: 2404

ScriptableObjects references lost between scenes

Hi, First of all, thank you for this asset, it is saving me so much time and second, sorry for my English. I have a small issue with the loading of scriptableobjects. Here's the context: the player has an inventory which is a list of Item scriptableobjects. Items have fields for a sprite and a pick ...
by Le_Clair
Tue Oct 13, 2020 9:33 pm
Forum: General Discussion
Topic: Cannot load lists
Replies: 1
Views: 746

Cannot load lists

Hi, I am trying to save and load the player inventory, which is a list of ScriptableObjects. According to the guide, I have to do the following: ES3.Save("myList", myList); myList = ES3.Load("myList", defaultValue); So I did the equivalent: public void SaveInventory() { ES3.Save(...