Page 1 of 1

error NullReferenceException solved

Posted: Sat Jan 09, 2021 10:59 am
by samso_n
Hello joel !!!

I'm sorry, I have a new error with no solution; I can't find the problem.

Everything working fine but with no raison I have this error !?
NullReferenceException: Object reference not set to an instance of an object
ES3Types.ES3ObjectType.Write (System.Object obj, ES3Writer writer) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs:31)
ES3Writer.Write (System.Object value, ES3Types.ES3Type type, ES3+ReferenceMode memberReferenceMode) (at Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs:221)
ES3Writer.Write (System.Object value, ES3+ReferenceMode memberReferenceMode) (at Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs:161)
ES3Writer.WriteProperty (System.String name, System.Object value, ES3+ReferenceMode memberReferenceMode) (at Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs:262)
Thanks a lot !!!

Re: error NullReferenceException

Posted: Sat Jan 09, 2021 11:18 am
by Joel
Hi there,

Just to check, are you using the latest version of Easy Save from the Asset Store?

If so, please could you private message me a new project with a basic scene which replicates this?

All the best,
Joel

Re: error NullReferenceException

Posted: Sat Jan 09, 2021 11:55 am
by samso_n
Thanks for your times !

I solved the problem, it was coming from the script es3usertype_prefab.

Bye