Hello,
I am receiving this error message when I am trying to save my current scene in Unity. It only occurs when I import Easy Save 3. If I delete it again, the error also disappears. What can I do to solve this? It seems that ES3 causes like a conflict with the editor windows in Unity!?
Thanks for your help!
Fabian
Error when saving scene in Unity
Error when saving scene in Unity
- Attachments
-
- Screenshot (2).png (145.33 KiB) Viewed 1432 times
Re: Error when saving scene in Unity
Hi there,
Just to check, are you using the latest version of Easy Save?
If so, please could you replicate this in a new, empty project and private message it to me with instructions?
All the best,
Joel
Just to check, are you using the latest version of Easy Save?
If so, please could you replicate this in a new, empty project and private message it to me with instructions?
All the best,
Joel
Re: Error when saving scene in Unity
Okay, I will ry your suggestion! Thanks for the fast response!
Re: Error when saving scene in Unity
Updating ES3 solved the problem! Thanks for the help!
-
- Posts: 1
- Joined: Wed Jul 28, 2021 9:39 pm
Re: Error when saving scene in Unity
I'm getting this in Unity 2019.4.26f1. Easy Save version 3.3.2f6 according to the changelog imported into the project. Recreation is simple: Create a new project in 2019.4.26f1, import Easy Save from the package manager, and hit Ctrl+S to save.
Code: Select all
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
ES3Postprocessor.UpdateAssembliesContainingES3Types () (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:117)
ES3Postprocessor.RefreshReferences (System.Boolean isEnteringPlayMode) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:59)
ES3Postprocessor.OnWillSaveAssets (System.String[] paths) (at Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:84)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
UnityEditor.AssetModificationProcessorInternal.OnWillSaveAssets (System.String[] assets, System.String[]& assetsThatShouldBeSaved, System.String[]& assetsThatShouldBeReverted, System.Boolean explicitlySaveAsset) (at <e6522990dfdf40458abbd5eeeb595b91>:0)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
Re: Error when saving scene in Unity
Hi there,
We've managed to replicate this and we have a fix for this in the upcoming update. In the meantime if you PM me your invoice number I'll send it over.
All the best,
Joel
We've managed to replicate this and we have a fix for this in the upcoming update. In the meantime if you PM me your invoice number I'll send it over.
All the best,
Joel