Easy Save doesn't work on built Project (SOLVED)

Discussion and help for Easy Save 3
Post Reply
Bape
Posts: 4
Joined: Sat Mar 14, 2020 2:42 pm

Easy Save doesn't work on built Project (SOLVED)

Post by Bape »

Hi all I hope you can help me with this issue.

The problem here is that inside Unity Editor the project is working fine. It does the saving and loading without any issues, but when I build it, it does not load or save anything.
The only thing I have tested that it does good in the builded project, is that it checks that the file exists before trying to acces to it.

What I am doing is that I preserve 1 object of EasySave3Manager as long as the application is running. This is because I use several Load Scene Additively in the game.
The way I try to load the variables is using PlayMaker "Load" Action. I use both variables, the one where it stores the data in case the key exists and the other one that overrides the value in case the key does not exists.

Right now my test is at the Start Screen of my game. I try to acces to a int variable inside my SaveFile to get the lastSavedScene to load the last saved scene (Single Loading), but the action does not do what I expect. It loads the value of 0, but since the variable exists in the file it should return the value from it, or at least load the override value of the default variable, that in this case, is 5.

(Don't know how to load an image here, so I added it via google drive.)
https://drive.google.com/open?id=1plb06 ... zrYJ8JW2X6

Maybe it could be that I am doing something wrong in how I manage the assets, but so far I don't know.

Please any recommendation or comment to fix my issue is really appreciated.

Regards
Last edited by Bape on Wed Mar 18, 2020 2:35 pm, edited 2 times in total.

Bape
Posts: 4
Joined: Sat Mar 14, 2020 2:42 pm

Re: Easy Save doesn't work on Built Project

Post by Bape »

Any comments regarding this issue?

More information about this issue.
I have tested it in 2019.2 and 2019.3 Unity versions with an empty project with the single task to change scene by getting the "lastSavedScene" int variable inside the file that Easy Save uses.
Both these unity versions were tested using PlayMaker and C# and the issue remains the same.
Can change scenes inside Unity Editor, but once I build the project it does not do anything.

Is this a problem I am

User avatar
Joel
Moodkie Staff
Posts: 2755
Joined: Wed Nov 07, 2012 10:32 pm

Re: Easy Save doesn't work on built Project

Post by Joel »

Hi there,

Apologies, I wasn't notified of your post.

I've had no other reports of this. What platform are you building for? Are any errors being output to console?

Also just to check, are you using the latest version of Easy Save? We released a patch last week which addresses some issues which might relate to what you're experiencing.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Bape
Posts: 4
Joined: Sat Mar 14, 2020 2:42 pm

Re: Easy Save doesn't work on built Project

Post by Bape »

Hi Joel,
No problem. Thanks for the reply.

I am building for Windows x86_64 and have no errors in the console. Also, I have already imported the latest version of the Easy save. I hoped that with that my problem would be fixed. Sadly, that didn't fix it.
Right now I am testing it in the 2019.3.5f1 and with 2019.2.14f1 versions with no success. I have no clue about what might be the cause that in the Unity Editor works fine, but once built it does not.

If you need any more info please let me know and I will facilitate it without any issue.

Thanks for the help!

Cesar

User avatar
Joel
Moodkie Staff
Posts: 2755
Joined: Wed Nov 07, 2012 10:32 pm

Re: Easy Save doesn't work on built Project

Post by Joel »

Hi Cesar,

Please could you private message me a link to a project with the minimum content required to replicate this so I can see what is happening from my end?

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Bape
Posts: 4
Joined: Sat Mar 14, 2020 2:42 pm

Re: Easy Save doesn't work on built Project

Post by Bape »

The issue is now solved.

The problem was that in the Unity Asset Store I wasn't able to download the latest version. It just allowed me to download the previous one, don't know why.
But Joel passed me via PM the latest version of the Easy Save 3 and problem solved.

Thanks Joel! :mrgreen:

Post Reply