Hello Im having problem with saving prefabs .
So I enabled ES3 Prefab on my instaced prefab than I save those prefabs with
ES3.Save<List<GameObject>>("bananaList", bananaSpawns);
And than when I try to load them
bananaSpawns = ES3.Load<List<GameObject>>("bananaList");
I get :
MissingReferenceException: Prefab with ID 9087660265779390644 could not be found.
ES3Types.ES3Type_ES3PrefabInternal.Read[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/ES3Prefab.cs:164)
ES3Reader.ReadObject[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:215)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:244)
ES3Types.ES3Type_GameObject.ReadObject[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs:108)
ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs:41)
ES3Reader.ReadObject[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:215)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:244)
ES3Types.ES3ListType.Read (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:62)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:240)
ES3Reader.Read[T] (System.String key) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:162)
InES3 Prefab script on my prefab I have ID 9087660265779390644
Problem with prefabs
Re: Problem with prefabs
Hi there,
Are you loading in a different scene to what you saved in? If so, you will need to paste the ES3ReferenceMgr Component from the Easy Save 3 Manager in your save scene to your load scene.
If this isn't the issue, please could you press the Refresh References button on the ES3ReferenceMgr and see if this solves the issue? You might also want to try deleting your save data incase there is an old prefab ID in there.
All the best,
Joel
Are you loading in a different scene to what you saved in? If so, you will need to paste the ES3ReferenceMgr Component from the Easy Save 3 Manager in your save scene to your load scene.
If this isn't the issue, please could you press the Refresh References button on the ES3ReferenceMgr and see if this solves the issue? You might also want to try deleting your save data incase there is an old prefab ID in there.
All the best,
Joel
-
- Posts: 2
- Joined: Wed Nov 20, 2019 4:39 pm
Re: Problem with prefabs
Same scene , also thanks , refreshing helped , even though I had auto refresh enabled