Easy save don't load

Discussion and help for Easy Save 3
Post Reply
blackant
Posts: 16
Joined: Thu Mar 12, 2020 1:12 pm

Easy save don't load

Post by blackant »

Hello,

I have a problem in my setup which I don't understand


I have a scene in which player can add and customize contents.
All prefabs have component ES3 Prefab

In the timeline, everything is good for saving, for exemple, I save a screenshot taken from the edited scene, and it loads inside another scene.

I checked the Save State, and the Array variable is set with all prefabs used during game.
Screen2022-11-04 13 49 47.png
Screen2022-11-04 13 49 47.png (59.78 KiB) Viewed 1081 times
but when I go back to this scene:
Screen2022-11-04 14 28 40.png
Screen2022-11-04 14 28 40.png (65.19 KiB) Viewed 1076 times

We can see that the Load Key : GOSalle4 is empty and there is an error message.

The error message returned is:

UnityEngine.MissingReferenceException: Prefab with ID 284329018818178276 could not be found.
Press the 'Refresh References' button on the ES3ReferenceMgr Component of the Easy Save 3 Manager in the scene to refresh prefabs.
at ES3Types.ES3Type_ES3PrefabInternal.Read[T] (ES3Reader reader) [0x000a0] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\ES3Prefab.cs:201
at ES3Reader.ReadObject[T] (ES3Types.ES3Type type) [0x00012] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:253
at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x00076] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:282
at ES3Types.ES3Type_GameObject.ReadObject[T] (ES3Reader reader) [0x000d5] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\Unity Types\ES3Type_GameObject.cs:112
at ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) [0x00034] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\ES3ObjectType.cs:54
at ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) [0x00015] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\ES3ObjectType.cs:47
at ES3Reader.ReadObject[T] (ES3Types.ES3Type type) [0x00012] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:253
at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x00076] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:282
at ES3Types.ES3CollectionType.ReadICollection[T] (ES3Reader reader, System.Collections.Generic.ICollection`1[T] collection, ES3Types.ES3Type elementType) [0x00012] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\Collection Types\ES3CollectionType.cs:52
at ES3Types.ES3ArrayType.Read (ES3Reader reader) [0x00006] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\Collection Types\ES3ArrayType.cs:36
at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x0004a] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:278
at ES3Reader.Read[T] () [0x00000] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:126
at ES3Types.ES3Type_PMDataWrapper.ReadObject[T] (ES3Reader reader, System.Object obj) [0x00087] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:1798
at ES3Types.ES3Type_PMDataWrapper.ReadObject[T] (ES3Reader reader) [0x00006] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:1810
at ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) [0x00034] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Types\ES3ObjectType.cs:54
at ES3Reader.ReadObject[T] (ES3Types.ES3Type type) [0x00012] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:253
at ES3Reader.Read[T] (ES3Types.ES3Type type) [0x00076] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:282
at ES3Reader.Read[T] (System.String key, T defaultValue) [0x00012] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\Readers\ES3Reader.cs:216
at ES3.Load[T] (System.String key, T defaultValue, ES3Settings settings) [0x00025] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\Scripts\ES3.cs:491
at ES3PlayMaker.Load.Enter () [0x0003c] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:412
at ES3PlayMaker.ActionBase.OnEnter () [0x00000] in F:\Travail\Projets\Unity\Fitness VR\Fitness VR\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:43

It was working before I started this post : https://moodkie.com/forum/viewtopic.php?f=13&t=2688


So i don't get what has been changed between the old and new setup.
blackant
Posts: 16
Joined: Thu Mar 12, 2020 1:12 pm

Re: Easy save don't load

Post by blackant »

Also, I just a made a test:

If I edit the scene, and save it, delete the edited array, and load it without going outside this scene, it will load correctly.

So my problem comes from the fact that I close this scene and load another.

Something is broken somewhere.
Screen2022-11-04 14 42 41.png
Screen2022-11-04 14 42 41.png (53.26 KiB) Viewed 1074 times
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Easy save don't load

Post by Joel »

Hi there,

I haven’t had any other reports of this issue, and don’t appear to be able to replicate it at my end. Please could you replicate it in a new project with a simple scene and private message it to me so I can see what is happening.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
blackant
Posts: 16
Joined: Thu Mar 12, 2020 1:12 pm

Re: Easy save don't load

Post by blackant »

I certainly did bad use of easy save, i made a clean project with only playmaker and easy save.

in a simple scene i made 3 buttons:
one to create randomly generated primitives prefabs, each one with Easy save component attached.
Screen2022-11-05 15 36 41.png
Screen2022-11-05 15 36 41.png (138.86 KiB) Viewed 1065 times
a second to save the array of generated objects.
Screen2022-11-05 15 37 05.png
Screen2022-11-05 15 37 05.png (123.32 KiB) Viewed 1065 times
a third to load the array.
Screen2022-11-05 15 37 50.png
Screen2022-11-05 15 37 50.png (136.94 KiB) Viewed 1065 times
blackant
Posts: 16
Joined: Thu Mar 12, 2020 1:12 pm

Re: Easy save don't load

Post by blackant »

When I save prefabs:
If I am right, the array is registered on the file.
When I hit load, it loads, ...
Screen2022-11-05 15 38 08.png
Screen2022-11-05 15 38 08.png (56.53 KiB) Viewed 1065 times
Screen2022-11-05 15 38 24.png
Screen2022-11-05 15 38 24.png (52.75 KiB) Viewed 1065 times
But if I manually delete the instances, and Hit load again, the error message is popping out.
Screen2022-11-05 15 38 49.png
Screen2022-11-05 15 38 49.png (95.68 KiB) Viewed 1065 times
isn't it intended to load from file and recreate them ?
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Easy save don't load

Post by Joel »

Hi there,

Unfortunately it’s not possible to understand what is happening from what you’ve sent. Please could you private message me the basic project you’ve created with instructions so I can see what is happening.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply