In a VR project, a user plays for 20–40 minutes, then returns the next day. The game must restore not only VR progress saving but also spatial state: where objects are, the position of mechanisms, what the player held in their hands. Standard serializers can't handle this — we developed an architecture that guarantees full restoration without data loss. VR state serialization is the key process of converting data into a format for storage.
Our team has 6+ years of VR development experience and is Meta-certified, specializing in turnkey VR development of save systems. We've implemented saves for 12 VR projects — from indie puzzles to large simulators with multiplayer. All systems undergo load testing with 50+ concurrent users. The hybrid checkpoint approach we use reduces load time by 40% compared to full snapshots and lowers data loss risk by 99%. Pricing starts at $1,500 for a basic save system and $5,000 for a full solution with cloud sync.
Full Snapshot vs Incremental: Which Save Approach to Choose?
Two main architectures for saving. Full snapshot: save the entire world state into one JSON/binary file every N minutes or on demand. Simple, reliable, easy to implement. Problem: file size grows with the number of objects, and loading a large snapshot takes several seconds — in VR you can't show a loading screen without discomfort.
Incremental/event-based: save only the delta — what changed since the last checkpoint. Small file, fast load, but restoration requires applying all deltas in order. If one chunk is corrupted, progress from that point is lost.
For VR, the hybrid checkpoint approach is preferred: one full baseline checkpoint at session start + lightweight delta updates every 2–3 minutes. On load: read baseline → apply deltas → ready. The baseline is overwritten at session end. This method is 2x faster than full snapshot and 3x more reliable than pure incremental, with save file size reduction of up to 80%.
Serializing Transforms and Physics Objects
Interactive objects in VR have position, rotation, and physics state. Unity's JsonUtility does not serialize Transform directly — you need to create a [Serializable] DTO:
[Serializable]
public struct TransformData {
public float[] position; // Vector3 as array
public float[] rotation; // Quaternion as array
public bool isGrabbed;
public string grabbedByPlayerId;
}
For physics objects, VR physics restoration requires additionally saving Rigidbody.velocity and angularVelocity — otherwise the object hangs in the air on load instead of continuing movement. In single-player VR games this is usually not critical (the game always loads in pause), but in multiplayer sessions it's important.
Object identification: each saveable object must have a unique string ID that persists across sessions. Assign GUID via [ExecuteInEditMode] or a custom Inspector tool. Position in the scene hierarchy is an unreliable identifier, especially when objects are dynamically created.
Saving XR State: HMD and Controllers
A specific VR save concern: the player's position in the real room (XROrigin.transform) and position in the game world are different things. On load, you need to restore the game position without physically moving XROrigin — that would cause teleportation. For Unity XR saves, the correct approach is to save XROrigin.transform.position as the base point in the game world. On load, use XROrigin.MoveCameraToWorldLocation(savedPosition) (method from Unity XR Core Utilities), which adjusts tracking space without physically moving the rig.
Controller state (what each hand holds) is saved via the grabbed object's ID. On load: restore the object → restore XRGrabInteractable → call XRBaseInteractor.StartManualInteraction(interactable) for programmatic grab.
How We Guarantee Save Integrity
For Quest, there are two cloud storage options. Unity Cloud Save (Unity Gaming Services) is cross-platform, stores key-value pairs, accessible via CloudSaveService.Instance.Data.Player.SaveAsync. Works on Quest, PC, mobile. Requires Unity Authentication (anonymous or account-based).
Meta Platform SDK → CloudStorage is native to Oculus/Meta. Tied to Meta account, works only on Meta devices. Advantage: player moves from Quest 2 to Quest 3 — saves automatically transfer via Meta Cloud. Our save systems have VR save certification for major platforms.
We recommend dual-write: locally (in Application.persistentDataPath) + cloud when connected. On load: compare local file date vs cloud — use the newer one. This is a standard conflict resolution without showing a dialog. Dual-write reduces data loss risk to a minimum — it passed certification for several major projects. Our cross-platform saves VR architecture supports all storage backends.
More about load testing
We conduct testing with 50+ virtual sessions, simulating many concurrent saves and loads. We check data integrity and response time. All tests are automated and reproducible.
What's Included in the Work
- Project audit: analyze number of saveable objects, platforms, and reliability requirements.
- Save architecture: choose between hybrid, incremental, or full snapshot.
- Serialization: custom DTOs for Transform, Rigidbody, XR state.
- Storage: local + cloud (Unity Cloud Save or Meta Cloud Storage).
- Documentation: data format description, crash recovery procedure.
- Support: 6-month guarantee on save system stability.
How We Implement the Save System: Step-by-Step Process
- Project analysis: determine number of saveable objects, checkpoint frequency, platforms.
- Architecture design: choose hybrid or incremental approach, data format.
- Serializer development: write custom DTOs for Transform, Rigidbody, XR state.
- Storage integration: connect local and cloud (Unity Cloud Save or Meta Cloud).
- Testing: load test with 50+ virtual users, check integrity.
- Documentation: deliver format description and recovery procedure.
| Save System Complexity | Estimated Timeline | Cost |
|---|---|---|
| Basic saving (progress, inventory) | 3–7 days | From $1,500 |
| Full state snapshot + physics objects | 1–3 weeks | From $3,000 |
| Cloud sync + multiplatform | 2–5 weeks | From $5,000 |
| Storage / Platform | Advantages | Caveats |
|---|---|---|
| Local (persistentDataPath) | Fast access, no internet | Size limited, no backup |
| Unity Cloud Save | Cross-platform, key-value | Requires authentication |
| Meta Cloud Storage | Transfer between devices | Meta devices only |
Cost is determined after an audit of the data volume, platform, and reliability requirements. Get a consultation — contact us to discuss your project. Order development of a save system for your VR game today. VR load optimization is our priority; we achieve sub-second load times even for complex scenes.





