Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/5
XML SafeSave is a simple, compact and efficient data storage code library for Unity.
You can use it to store your game's data easily inside xml files. It even features an option to encrypt your data, in order to protect it against particularly curious end users.
The keys are managed automatically for you, so that you don't have to wildly pass them around your scripts back and forth, and store them in eventually unsafe places.
XML SafeSave is very simple to use, efficient, user friendly and versatile.
You can check out my tutorial video about XML SafeSave on YouTube to find out how it works (and how simple it is).
The API is well documented, featuring helpful VS Intellisense comments, two example scripts, scenes and a tutorial PDF file on how to use it.
If you have any questions, feedback, requests, bug reports or anything else regarding XML SafeSave, just feel free to contact me via E-Mail or post something onto the original Unity forums thread.
-----------------------------------
Version 1.1 ships with many bug fixes and performance improvements, as well as an overload for the save and load methods: you can now retrieve the raw byte[] array of an xml formatted document instead of saving the data to a file. To load it again, just feed the previously saved byte[] array into the Load function instead of the xml file path (this is particularly useful for Xbox One development).
Additionally, the Save method now returns true or false depending on whether the saving procedure has failed or succeeded. Furthermore, the default encoding has been set to the .NET standard Unicode (meaning UTF-16).
You can use it to store your game's data easily inside xml files. It even features an option to encrypt your data, in order to protect it against particularly curious end users.
The keys are managed automatically for you, so that you don't have to wildly pass them around your scripts back and forth, and store them in eventually unsafe places.
XML SafeSave is very simple to use, efficient, user friendly and versatile.
You can check out my tutorial video about XML SafeSave on YouTube to find out how it works (and how simple it is).
The API is well documented, featuring helpful VS Intellisense comments, two example scripts, scenes and a tutorial PDF file on how to use it.
If you have any questions, feedback, requests, bug reports or anything else regarding XML SafeSave, just feel free to contact me via E-Mail or post something onto the original Unity forums thread.
-----------------------------------
Version 1.1 ships with many bug fixes and performance improvements, as well as an overload for the save and load methods: you can now retrieve the raw byte[] array of an xml formatted document instead of saving the data to a file. To load it again, just feed the previously saved byte[] array into the Load function instead of the xml file path (this is particularly useful for Xbox One development).
Additionally, the Save method now returns true or false depending on whether the saving procedure has failed or succeeded. Furthermore, the default encoding has been set to the .NET standard Unicode (meaning UTF-16).
XML SafeSave
(not enough ratings)
31 users have favourite this asset
(31)
$7.77
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
Secure checkout:

License agreement
Standard Unity Asset Store EULALicense type
File size
384.7 KB
Latest version
V1.1
Latest release date
Jul 21, 2017
Original Unity version
4.6.0
Support
Visit siteQuality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR