Search found 16 matches

by Cranktrain
Thu Jun 14, 2018 5:28 pm
Forum: General Discussion
Topic: Custom ES3Type Troubles
Replies: 10
Views: 14470

Re: Custom ES3Type Troubles

A follow-up query regarding what you're saying about ES3Reader/ES3Writer. In upgrading to ES3 I'm trying to solve another of issues with my saving and loading, the first I posted about a few weeks back here , and your main suggestion was to upgrade to ES3. The second problem I have is that saving an...
by Cranktrain
Thu Jun 14, 2018 5:17 pm
Forum: General Discussion
Topic: Custom ES3Type Troubles
Replies: 10
Views: 14470

Re: Custom ES3Type Troubles

Thanks Joel, didn't know about the case-sensitivity on the ES3 window. But when I click "Create ES3Type Script" I still get the ArgumentNullException, as well as the TypeLoadException. Error one: ArgumentNullException: Value cannot be null. Parameter name: key System.Collections.Generic.Di...
by Cranktrain
Thu Jun 14, 2018 4:01 pm
Forum: General Discussion
Topic: Custom ES3Type Troubles
Replies: 10
Views: 14470

Custom ES3Type Troubles

Hi - I'm working on upgrading my project from ES2 to ES3, so I'm migrating all my types from ES2Type to ES3Type. I've been reading the docs on the subject of custom types but a first pass at migrating my types has not gone so smoothly. Here's the first error I'm encountering. I'm just going to go in...
by Cranktrain
Wed May 09, 2018 5:36 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saved Data Schema Migration
Replies: 1
Views: 2798

Saved Data Schema Migration

Hi Joel, I have a hard time imagining that this hasn't been discussed before, so please forgive me if so! The forum search didn't turn up anything. My game features a fairly complex simulation, with lots of non-trivial data (often nested) getting saved, I think I'm at about 70 custom types so far. A...
by Cranktrain
Thu Nov 09, 2017 11:17 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: ES2InvalidDataException on Basic Save
Replies: 2
Views: 4686

Re: ES2InvalidDataException on Basic Save

Okay, so I figured out what my issue was. My problem was that I had called ES2.Save on the same identifier ("SavePlz") with another type in a previous test, but I hadn't implemented that as a Custom Type, so it failed, but maybe got half saved? So it was expecting that type but got an int?...
by Cranktrain
Thu Nov 09, 2017 7:24 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: ES2InvalidDataException on Basic Save
Replies: 2
Views: 4686

ES2InvalidDataException on Basic Save

Oh dear, I seem to have failed at the first hurdle with Easy Save 2. Created a new scene, a new script, and stuck this in the Update: if (Input.GetKeyDown(KeyCode.F5)) { ES2.Save(123, "SavePlz"); } Straight out of the Basic Saving and Loading Guide. But, I get this when I hit F5: ES2Invali...