playMaker

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

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 21
    • View Profile
Will my new update overwritten the save file?
« on: September 16, 2018, 10:14:53 AM »
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: 13526
  • Official Playmaker Support
    • View Profile
Re: Will my new update overwritten the save file?
« Reply #1 on: September 18, 2018, 10:22:54 PM »
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