I’m curious as to when it is best practice to use XML, and what is it primarily used for? I currently use Easy Save 2 for save game and secure info saving, and it works brilliantly. But I know very little about XML, the benefits and pitfalls of it. Can anyone enlighten me?
XML vs Easy Save 2 - Can’t really comment. I’m assuming Easy Save 2 uses a form of Binary serialization, but that’s pure speculation on my part. If that’s the case, google “XML vs Binary serialization” and look at the thousands of discussions on this topic and then decide which you prefer to use.
PlayerPrefs - If you’re developing for Windows, it’s a horrible way to save large amounts of data. To quote Microsoft on storing data in the Registry:
simple sql on the assets store, data encryption data structure, and its more easy to changes tables than xml or player prefs. and obviously sql query are more interesting for managing all kind of data