# Saving/Loading Data?

**URL:** https://discussions.unity.com/t/saving-loading-data/396518
**Category:** Leaderboards
**Created:** [August 16, 2009, 12:48am UTC](https://discussions.unity.com/t/saving-loading-data/396518 "2009-08-16T00:48:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mctricks](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mctricks](https://discussions.unity.com/u/mctricks)
#### Post date: [August 16, 2009, 12:48am UTC](https://discussions.unity.com/t/saving-loading-data/396518/1 "2009-08-16T00:48:49Z")

</div>

How do I save/load data? This includes things like High Scores, progress in game… etc

---

<div class="post-metadata">

### Author: ![Narlix](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/narlix/32/254464_2.png) [@Narlix](https://discussions.unity.com/u/Narlix)
#### Post date: [August 16, 2009, 12:52am UTC](https://discussions.unity.com/t/saving-loading-data/396518/2 "2009-08-16T00:52:22Z")

</div>

search the forum for xml, or check out the unity wiki, there is a save and load script…

---

<div class="post-metadata">

### Author: ![GargerathSunman](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/gargerathsunman/32/185234_2.png) [@GargerathSunman](https://discussions.unity.com/u/GargerathSunman)
#### Post date: [August 16, 2009, 1:51am UTC](https://discussions.unity.com/t/saving-loading-data/396518/3 "2009-08-16T01:51:22Z")

</div>

I also have a tutorial on the subject. (Saving With Player Prefs)

It’s at my website, [unity-tutorials.com](http://unity-tutorials.com). It does cost $14.95, but if you want to check out the quality of the tutorials you can download a couple free tutorials on the site as well.

---

<div class="post-metadata">

### Author: ![anon\_85768832](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@anon\_85768832](https://discussions.unity.com/u/anon_85768832)
#### Post date: [August 17, 2009, 8:46pm UTC](https://discussions.unity.com/t/saving-loading-data/396518/4 "2009-08-17T20:46:24Z")

</div>

I agree with the guys above, look around as there are a few ways to solve this sort of problem depending on your needs and environment. Some links to help get you started:

1. For local storage of data, web or desktop, look at Unity’s built-in [PlayerPrefs](http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html) class.

2. For remote storage of data, look at Unity’s built-in [WWW](http://unity3d.com/support/documentation/ScriptReference/WWW.html) class as it allows you to send/receive data from PHP/ColdFusion/ASP/PSP, to pull text files (like XML), etc.

Start with my links above, as well as those from the guys that posted ahead of me and I’m sure you’ll find what you’re after! 🙂
