Cloud Storage version 2 is now publicly available on PC and all mobile platforms, offering a file-based, cross-platform cloud syncing solution to application state storage and restoration. This update enables your community to write a save file on Rift, and continue playing on Quest right where they left off.
Visit your developer dashboard and select your App. Under Platform Services select Cloud Storage, noting that this may be under Settings > App Groupings. Enable Cloud Storage v2 and your application is now ready to sync to the cloud:
While relatively low effort to activate, make sure you read and write your save files in the designated sync directory on the device. This will differ depending on the platform, your configuration and the user. To help with this, we are introducing a new API to the Platform SDK available in 1.39: ovr_CloudStorage2_GetUserDirectoryPath
This will return the path to the designated sync directory. The contents of this directory will be synced from the server before your application is launched, and uploaded after it quits.
Yes! The sync directory will be updated periodically in the background, so the data should be relatively up-to-date when your application is launched. Since it’s file-based, you can write out your save state like normal and the system will sync it to the server when it’s next online.
Version 1 of Cloud Storage uses a more complicated system of keys and buckets that you have to use to write bytes using our APIs. It also requires developers to implement you own conflict resolution, and is only available on PC.
Version 2 was designed to be much simpler for developers to use, and work across all Oculus platforms. Conflict resolution is now handled by Oculus dialogs, the application no longer has to worry about resolving or handling conflicts, and you can assume that the sync directory is always in a consistent state.
For more information and to get started syncing your users’ data, check out the Cloud Saves 2 documentation page. We hope this latest feature enables an even more seamless experience for your audience.
- The Oculus Team