Search found 23 matches

by doodlinbee
Sat Sep 05, 2020 8:02 pm
Forum: General Discussion
Topic: FormatException: String was not recognized as a valid Boolean (solved)
Replies: 4
Views: 1472

Re: FormatException: String was not recognized as a valid Boolean

Hi there, I don't quite understand the cache system. How to save values in it? Like how to do the equivalent of my OP with the cache? (I'm looking for performance improvements because i have thousands of keys to store and doing the 'Getting started' way with "ES3.Save" took several minutes...
by doodlinbee
Sat Sep 05, 2020 1:00 pm
Forum: General Discussion
Topic: FormatException: String was not recognized as a valid Boolean (solved)
Replies: 4
Views: 1472

FormatException: String was not recognized as a valid Boolean (solved)

Saving code : public void SaveSequentially(int slot) { using (ES3Writer writer = ES3Writer.Create(filePath: GetSaveName(slot), settings)) { writer.Write(SceneManager.GetActiveScene().name); writer.Write(true); writer.Write(false); } } The output : {"lighttests"truefalse } Loading code : pu...