I saved the file in this path : persistentDataPath + "/Save/SaveGame1.es3"
But I can't find the file under this path,I wonder where they are?
I can't find the saved file
Re: I can't find the saved file
Hi there,
You can open the persistent data path by going to Tools > Easy Save 3 > Open Persistent Data Path.
Note that Easy Save stores to the persistent data path by default, so you don't need to prepend Application.persistentDataPath to your path. I.e. this will store to a file called SaveFile.es3 in a folder named SaveGame in the persistent data path:
All the best,
Joel
You can open the persistent data path by going to Tools > Easy Save 3 > Open Persistent Data Path.
Note that Easy Save stores to the persistent data path by default, so you don't need to prepend Application.persistentDataPath to your path. I.e. this will store to a file called SaveFile.es3 in a folder named SaveGame in the persistent data path:
Code: Select all
ES3.Save("myKey", myValue, "SaveGame/SaveFile.es3");
Joel
-
- Posts: 6
- Joined: Thu Dec 29, 2022 1:12 pm
Re: I can't find the saved file
Yes , I Did it
This is my Setting
This is my code
Here is my Log , It can read the archive from previous tests.
This is my Setting
This is my code
Here is my Log , It can read the archive from previous tests.
- Attachments
-
- 2022-12-30 10_00_03-MilkTeaShopSimulator - TestUI - PC, Mac & Linux Standalone - Unity 2020.3.33f1c2.png (40.13 KiB) Viewed 1167 times
-
- 2022-12-30 09_54_28-MilkTeaShopSimulator - TestUI - PC, Mac & Linux Standalone - Unity 2020.3.33f1c2.png (37.64 KiB) Viewed 1167 times
-
- 2022-12-30 09_57_17-MilkTeaShopSimulator - Microsoft Visual Studio.png (13.77 KiB) Viewed 1167 times
-
- Posts: 6
- Joined: Thu Dec 29, 2022 1:12 pm
Re: I can't find the saved file
But I can't see any files in this folder
I'm pretty sure this is the folder
I'm pretty sure this is the folder
- Attachments
-
- 2022-12-30 10_05_29-MilkTeaShopSimulator - Clover.png (9.51 KiB) Viewed 1167 times
-
- Posts: 6
- Joined: Thu Dec 29, 2022 1:12 pm
Re: I can't find the saved file
I need to add something , string savedGamesPath = "/Save/";
- Attachments
-
- 2022-12-30 10_10_35-MilkTeaShopSimulator - Microsoft Visual Studio.png (14.64 KiB) Viewed 1166 times
-
- Posts: 6
- Joined: Thu Dec 29, 2022 1:12 pm
Re: I can't find the saved file
I still haven't solved this problem. I hope someone can help me
Re: I can't find the saved file
Hi there,
You are specifying a preceding '/' in your path, which indicates that it's an absolute path. You should remove the preceding slash to indicate that it's a relative path as in the example I posted above. I.e.
Not:
All the best,
Joel
You are specifying a preceding '/' in your path, which indicates that it's an absolute path. You should remove the preceding slash to indicate that it's a relative path as in the example I posted above. I.e.
Code: Select all
// Correct
ES3.Save("myInt", 1, "Save/SaveGame1.es3");
Code: Select all
// Incorrect
ES3.Save("myInt", 1, "/Save/SaveGame1.es3");
Joel
-
- Posts: 6
- Joined: Thu Dec 29, 2022 1:12 pm
Re: I can't find the saved file
Thank you very much
You helped me solve this problem
You helped me solve this problem