playMaker

Author Topic: Will my new update overwritten the save file?  (Read 1473 times)

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
Will my new update overwritten the save file?
« on: September 16, 2018, 01:14:53 PM »
I am going to use "Smooth Save for Playmaker" to load and save my game data.  And the rest of my game is also done by playmaker.

My question is if I upload the new version of the game in steam(it's going to be a PC game), will it erase the save file?   

My game is going to be all in playmaker.  Thanks.

The following is the answer to my question from "Smooth Save for Playmaker".

"The save game files are written to UnityEngine.Application.persistentDataPath, which varies by platform.  So long as the update process does not delete the contents of that directory, then the save game files will remain and could still be loaded after update."

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Will my new update overwritten the save file?
« Reply #1 on: September 19, 2018, 01:22:54 AM »
Hi,

 no, it should not, persistent datapath is a separate folder, so as long as your Application has the same ID, the persistent path with be the same as you make update, however, it may be deleted if the user delete the app ( at least on mobile, I think this is the case).

 Bye,

 Jean