Search found 7 matches

by Jason
Fri Jan 02, 2015 4:11 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Playmaker ArgumentException
Replies: 6
Views: 12211

Re: Playmaker ArgumentException

Joel, I'm also getting this error, though I do not use Playmaker. It's occurring on this code: // Loads the world list data from file. private void LoadData() { if (!ES2.Exists("WorldData")) return; worlds = ES2.LoadList<string>("WorldData"); } And I get this message: ArgumentExc...
by Jason
Thu Dec 04, 2014 6:48 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: ArgumentException
Replies: 1
Views: 2305

ArgumentException

Hi there! I'm getting this error for whatever reason: ArgumentException: An element with the same key already exists in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Object].Add (System.String key, System.Object value) (at /Users/builduser/buildslave/mono-runtime-and-c...
by Jason
Sat Nov 15, 2014 6:40 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to Resources from Editor
Replies: 9
Views: 10624

Re: Saving to Resources from Editor

I've now installed v2.5.3. The old error is gone, but it's been replaced with a new one when attempting to read data using ES2Reader: NullReferenceException: Object reference not set to an instance of an object ES2TypeManager.GetES2Type (Byte key) ES2Reader.ReadAll () ES2.LoadAll (System.String path...
by Jason
Tue Nov 11, 2014 10:22 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to Resources from Editor
Replies: 9
Views: 10624

Re: Saving to Resources from Editor

Hey there, I'm also getting this error: Destroy may not be called from edit mode! Use DestroyImmediate instead. Also think twice if you really want to destroy something in edit mode. Since this will destroy objects permanently. UnityEngine.Object:Destroy(Object) ES2TypeManager:InitializeTypeList() E...
by Jason
Wed Aug 20, 2014 7:52 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Incorrect Saving when Scene Changes
Replies: 3
Views: 3145

Re: Incorrect Saving when Scene Changes

Turns out that bug was the problem, where Start was being called again on the loading of the new scene. It's working now.

Thanks!
by Jason
Wed Aug 20, 2014 6:44 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Incorrect Saving when Scene Changes
Replies: 3
Views: 3145

Incorrect Saving when Scene Changes

Hi, I'm having a strange issue and I'm not entirely sure if it's on my end or something related to Easy Save. I figured I'd ask to see if there's anything I may be failing to consider. I have a GameObject that is meant to carry some data between scenes, and hence uses DontDestroyOnLoad(). It has a d...
by Jason
Wed Apr 16, 2014 6:25 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Performance Issues (Multithreading?)
Replies: 3
Views: 4532

Performance Issues (Multithreading?)

Hi there, I've been thoroughly enjoying easy save thus far. It has worked wonders for the last game I made. Now, though, I'm making a voxel-based game and figured I could use Easy Save to save chunk data to files. I wrote some optimizations so that it only saves modified block data, and not every bl...