Search found 6 matches

by wyliam
Mon Mar 29, 2021 7:39 pm
Forum: General Discussion
Topic: Load List --> System.FormatException: Expected '{' or "null", found '1'
Replies: 10
Views: 3606

Re: Load List --> System.FormatException: Expected '{' or "null", found '1'

Can you expand on how I'd go about doing that using EasySave's deserialization? Should I repopulate the struct after loading it in?
by wyliam
Mon Mar 29, 2021 4:12 pm
Forum: General Discussion
Topic: Load List --> System.FormatException: Expected '{' or "null", found '1'
Replies: 10
Views: 3606

Re: Load List --> System.FormatException: Expected '{' or "null", found '1'

It looks like its in it's default directory than the others I've created and moved (and load fine). using System; using UnityEngine; namespace ES3Types { [UnityEngine.Scripting.Preserve] [ES3PropertiesAttribute("ID", "category", "locKey", "value", "maxVal...
by wyliam
Mon Mar 29, 2021 1:53 pm
Forum: General Discussion
Topic: Load List --> System.FormatException: Expected '{' or "null", found '1'
Replies: 10
Views: 3606

Re: Load List --> System.FormatException: Expected '{' or "null", found '1'

I cleared the path but no luck. I haven't modified the settings/types other than to add types. Here's the struct I filled the list with initially. static List<Setting> _settings = new List<Setting>(); [Serializable] public struct Setting { public int ID; public SettingType category; // enum public s...
by wyliam
Sun Mar 28, 2021 8:47 pm
Forum: General Discussion
Topic: Load List --> System.FormatException: Expected '{' or "null", found '1'
Replies: 10
Views: 3606

Load List --> System.FormatException: Expected '{' or "null", found '1'

On Easy Save 3.3.2 I'm attempting to load a saved list of structs (Setting) that a few generic types in them (int, enum, string & 2 objects). I can save the file successfully in script, and even open/view it on disk. However, loading it back into the list seems to push an error. Any help on what...
by wyliam
Tue Feb 04, 2014 3:19 am
Forum: (Legacy) Easy Save 2 Examples and Tutorials
Topic: Creating an Automatic Save Structure
Replies: 24
Views: 121913

Re: Creating an Automatic Save Structure

FYI - The package had an error in it, running it as is (Unity 4.3.1f1).
Changing Awake() to Start() on the UniqueSaveManager.cs gave the SceneObjectThree scene object time to register itself. As a sub-object, it's Awake() didn't run before the manager tried to run Load(), and error'd out there.