ArgumentOutofRangeException Error
Posted: Sun May 20, 2018 6:09 am
I'm getting a bunch of these errors when trying to build out my game. They all look like this and seem to be tied to the Easy Save 3 Manager.
Do I need the manager if I'm saving/loading specific variables from a different script? Or is there a fix/explanation for the error? I can't seem to figure it out.
Code: Select all
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEngine.Object].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
ES3Internal.ES3SerializableDictionary`2+Enumerator[System.Int64,UnityEngine.Object].MoveNext () (at Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs:204)
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Collections.Generic.KeyValuePair`2[System.Int64,UnityEngine.Object]].MoveNext ()
System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.Collections.Generic.KeyValuePair`2[System.Int64,UnityEngine.Object],System.Int64].MoveNext ()
System.Collections.Generic.List`1[System.Int64].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
System.Collections.Generic.List`1[System.Int64]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
System.Linq.Enumerable.ToList[Int64] (IEnumerable`1 source)
ES3Internal.ES3IdRefDictionary.RemoveNullValues () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs:237)
ES3ReferenceMgr.GenerateReferences () (at Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs:33)
ES3ReferenceMgrEditor.OnInspectorGUI () (at Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs:86)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1253)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)