Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
invertedJoy's avatar
invertedJoy
Honored Guest
2 years ago

CloudBackupManager Unreal 5.4 Quest 2 & 3

We've recently migrated from UE4.27 to UE5.4 and have run into an issue with cloud backups of our game save file.
We have a couple files that are required to save and track progress LevelProgress.sav and PlayerStats.json. These are located in Game/Saved/SaveGames & Game/Saved/PSS respectively. Our previous release had those files backup and restore perfectly between uninstalls/reinstalls. It seems now that the backup system has been deprecated or changed. 

Save information works fine between play session when saved locally. But upon uninstall all is lost.
I was wondering if there is away to adjust the settings of the Quest's CloudBackupManager as it seems to be failing to backup on application exit.

CloudBackupManager
Run backup(): BackupInput(packageNames=[com.CompanyName.YourGame], requestOrigin=ApplicationClose, skipIfRecentBackupExists=true, skipIfUnusedSinceLastBackup=false, allowIfAppIsRunning=false, forceUpload=false, backupRestoreType=Full, referenceId=null, sendVrNotification=false)

CloudBackupManager
Package: com.CompanyName.YourGame backup eligibility: false with status: AppRunning

CloudBackupManager
No packages found eligible for backup, returning success

Ideally it would seem setting allowIfAppIsRunning to be "true" would be the easiest solution but I'm not sure where to change that flag for our app.
I was also considering moving the save data from : "sdcard/Android/com.CompanyName.YourGame/files/UnrealGame/Game/Game/Saved/PSS"
To : "sdcard/Android/com.CompanyName.YourGame/files"
With the assumption that the files are too deep in the directory tree. But that would result in anyone with the game already installed having the wrong save location post update.  

Any help would be much appreciated!

1 Reply

Replies have been turned off for this discussion
  • MetaStoreHelp's avatar
    MetaStoreHelp
    Community Manager

    Hi there,

     

    Thanks for posting in our community. We can see your running into trouble with your cloud backups and this is not ideal! We would like to direct you to our developer support page, if you want, and you can find a lot more resources to help you out.