ArgumentNullException caused by ES3Internal.ES3ReferenceMgrBase.Merge on Runtime

Discussion and help for Easy Save 3
Post Reply
shanehou
Posts: 1
Joined: Tue Feb 09, 2021 11:10 pm

ArgumentNullException caused by ES3Internal.ES3ReferenceMgrBase.Merge on Runtime

Post by shanehou »

Issue:

Got a ArgumentNullException on runtime:

Code: Select all

ArgumentNullException: Value cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00008] in <567df3e0919241ba98db88bec4c6696f>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 
  at ES3Internal.ES3ReferenceMgrBase.Add (UnityEngine.Object obj, System.Int64 id) [0x00045] in G:\UnityProjects\OIC-Main\Assets\Plugins\Easy Save 3\Scripts\ES3ReferenceMgrBase.cs:253 
  at ES3Internal.ES3ReferenceMgrBase.Merge (ES3Internal.ES3ReferenceMgrBase otherMgr) [0x00018] in G:\UnityProjects\OIC-Main\Assets\Plugins\Easy Save 3\Scripts\ES3ReferenceMgrBase.cs:127 
  at ES3Internal.ES3ReferenceMgrBase.Awake () [0x00037] in G:\UnityProjects\OIC-Main\Assets\Plugins\Easy Save 3\Scripts\ES3ReferenceMgrBase.cs:105 
The same issue can't be reproduced in the editor.
User avatar
Joel
Moodkie Staff
Posts: 4852
Joined: Wed Nov 07, 2012 10:32 pm

Re: ArgumentNullException caused by ES3Internal.ES3ReferenceMgrBase.Merge on Runtime

Post by Joel »

Hi there,

I removed some of your post as it's against the EULA to publicly post the internal source code.

We're removing the need to Merge in that particular case in our upcoming update. If you private message me your invoice number I'm happy to send this update over.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply