Task.Run(()=>{
ES3File file=new (path);
file.save(key , value);
file.sync();
})
My code about async saving data is similar to above,but no file was created.
Who can help me?Why?
Why I use ES3File.Save to save data in Task.Run,but nothing to happen d
-
- Posts: 2
- Joined: Thu Jul 15, 2021 6:52 pm
Re: Why I use ES3File.Save to save data in Task.Run,but nothing to happen d
Hi there,
Please could you create a script that I can drop into an empty scene in a new project which replicates this?
Also ES3File is deprecated and you should use the caching storage location instead:
https://docs.moodkie.com/easy-save-3/es ... rformance/
All the best,
Joel
Please could you create a script that I can drop into an empty scene in a new project which replicates this?
Also ES3File is deprecated and you should use the caching storage location instead:
https://docs.moodkie.com/easy-save-3/es ... rformance/
All the best,
Joel
-
- Posts: 2
- Joined: Thu Jul 15, 2021 6:52 pm
Re: Why I use ES3File.Save to save data in Task.Run,but nothing to happen d
Than you very much ~~
I will have a try about using this cache function for async saving.
I will have a try about using this cache function for async saving.