- Temporary local storage
- Installed game data
- Developer scratch partition
- Persistent local storage
XR-133: Local Storage Write Limitations
Titles running on XBOX Series S, XBOX Series X, or any
- 2 GB of dedicated storage
- Content is deleted after the title has been terminated.
- Content persists when suspending and resuming, including quick resume.
- Title specific: This storage space can be accessed by the title that requested it only.
- Console-specific: This storage space is always created in an XVD which is specific to the console (even if the title is installed on an external drive) and cannot be used on another console.
- Guaranteed allocation: The system ensures that the space is allocated prior to the title being allowed to launch. If insufficient hard drive space is available, the user is prompted to free up space to allow the title to run.
- User-controlled: The storage space can be deleted by users from the system shell. The system never automatically deletes any items in the space.
- Tied to title install lifetime: When a title is uninstalled, the associated local storage space is removed too. If the title is re-installed, none of the previous existing data is restored.
- Resilient and tamper resistant: The storage space is encrypted and integrity checked so that the data saved by the title cannot be tampered with.
To make the PLS shareable, add the markup <Shareable> to the MicrosoftGame.config as a child of <PersistentLocalStorage>.
If a title marks its PLS as shareable, then it should make sure that before suspending the game,
Never hardcode returned path values because they might vary over time and are valid only after a package is mounted.
