Hi,
I just bought Easy Save 3 and getting an error whenever I try to use the Save All function using Playmaker. Whenever I choose Save All, it gives me this error:
https://pastebin.com/2TV5KvVD
Anyone had this before? I've tried re-installing but still not working...
Thanks
Need Help! SaveAll : System.NullReferenceException
-
- Posts: 1
- Joined: Fri Jan 15, 2021 5:52 pm
Re: Need Help! SaveAll : System.NullReferenceException
Hi there,
Please could you create a new project with a basic scene which replicates this and private message it to me?
All the best,
Joel
Please could you create a new project with a basic scene which replicates this and private message it to me?
All the best,
Joel
Re: Need Help! SaveAll : System.NullReferenceException
I'm getting the same error, was there a solution found?
Re: Need Help! SaveAll : System.NullReferenceException
Hi there,
The original poster didn't send us a project, and we've had no other reports of this. If you could private message me a basic project which replicates it I'm happy to look into it further.
I would also recommend checking that you're on the latest version of Easy Save.
All the best,
Joel
-
- Posts: 1
- Joined: Fri Jun 24, 2022 8:55 am
Re: Need Help! SaveAll : System.NullReferenceException
same error , any solution ? 

Re: Need Help! SaveAll : System.NullReferenceException
Hi there,
We've still not been sent a project to replicate this. If you can replicate this in a new project with a simple scene and private message it to me with instructions I'm happy to look into this further.
All the best,
Joel
We've still not been sent a project to replicate this. If you can replicate this in a new project with a simple scene and private message it to me with instructions I'm happy to look into this further.
All the best,
Joel
Re: Need Help! SaveAll : System.NullReferenceException
Thanks for sending over further information, I thought I would post the resolution in case it is helpful to anyone else.
The error you sent me was as follows:
The error is coming from Unity's GetComponent method, and this usually indicates that you're trying to save a GameObject which has been marked as destroyed, but it has not yet been destroyed (i.e. trying to save it on the same frame as it's been destroyed). For example:ICanvas : menu : State 5 : SaveAll : System.NullReferenceException
at (wrapper managed-to-native) UnityEngine.GameObject.GetComponentFastPath(UnityEngine.GameObject,System.Type,intptr)
at UnityEngine.GameObject.GetComponent[T] () [0x00021] in <f1212ad1dec44ce7b7147976b91869c3>:0
at ES3Types.ES3Type_GameObject.WriteObject (System.Object obj, ES3Writer writer, ES3+ReferenceMode mode) [0x00021] in C:\UNITY\UNITY\New Unity Project\Assets\Plugins\Easy Save 3\Scripts\Types\Unity Types\ES3Type_GameObject.cs:32
... etc
https://answers.unity.com/questions/130 ... onent.html
In this case you would need to ensure that you do not save on the same frame as destroying a GameObject. This is an issue at Unity's end and not something we are able to work around.
All the best,
Joel