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!459Views0likes1CommentCloud Backup result: Transport rejected package because it wasn't able to process it at the time
The project strictly follows the operation of the development documents, and the backup file size does not exceed 100M. When executing adb shell bmgr backupnow xxx.xxx.xxx in cmd, the following content is returned ----------Log--------------- 2023-10-19 02:38:56.587 MQDH executing "adb shell bmgr backupnow com.xxx.xxx"... Running incremental backup for 1 requested packages. Package PM@ with result: Success Package com.xxx.xxx with result: Transport rejected package because it wasn't able to process it at the time Backup finished with result: Success1.2KViews0likes1Comment