Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: sofianehamza on April 14, 2019, 08:44:35 AM

Title: easysave3 and playmaker error
Post by: sofianehamza on April 14, 2019, 08:44:35 AM
hello...i 've been having this error trying to load encrypted data
not sure whether the problem is with easy save or playmaker though

System.IO.FileNotFoundException: File "C:/Users/user/AppData/LocalLow/project/project_net/project" could not be found.
  at ES3.Load[T] (System.String key, ES3Settings settings) [0x00011] in D:\Unity\project\Assets\Plugins\Easy Save 3\Scripts\ES3.cs:265
  at ES3PlayMaker.Load.Enter () [0x0005e] in D:\Unity\project\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:275
  at ES3PlayMaker.ActionBase.OnEnter () [0x00002] in D:\Unity\project\Assets\Plugins\Easy Save 3\PlayMaker\ES3PlayMaker.cs:34
Title: Re: easysave3 and playmaker error
Post by: Fat Pug Studio on April 14, 2019, 12:26:34 PM
Well it says file not found.
Title: Re: easysave3 and playmaker error
Post by: djaydino on April 14, 2019, 04:37:10 PM
Hi.
You will need to save the variable 1st before you can load the variable.

There is a action the check if a reference exits (i forgot the action name)

this you can use @ the start of your game and do a check first, if it does not exists save it.

If you add/remove new ones its best also to reset (windows/es3/tools i believe)
Title: Re: easysave3 and playmaker error
Post by: sofianehamza on April 15, 2019, 09:12:27 PM
thanks for your insightful help
I download the file from my server using the download action then I thought
I only need to load the file that I downloaded ...because it's already in my persistent data directory.
Title: Re: easysave3 and playmaker error
Post by: djaydino on April 16, 2019, 06:52:13 AM
Hi.
For download/upload i am not sure if the same works. (i neer used upload/download yet)

For local save / load it has to be done this way.