Persistent Data – How to save your game states and settings | Unite Now 2020
Saving data is critical for any game. Whether you need to save high scores, preferences, or game state, Unity offers a variety of methods – from PlayerPrefs to serializing data, encrypting it, and writing to a file. In this video, we share some valuable tips on creating data persistence in Unity.
Speaker:
Bronson Zgeb, Senior Content Developer (Unity)
👉 Learn more about serialization: https://on.unity.com/2I2Ykpr
Example scripts: https://github.com/UnityTechnologies/UniteNow20-Persistent-Data
👉 Easy Save on the Unity Asset Store: https://assetstore.unity.com/packages/tools/input-management/easy-save-the-complete-save-load-asset-768?_ga=2.86283544.1638775723.1605810081-1893381353.1546531620
👉 JSON .NET on the Unity Asset Store: https://assetstore.unity.com/packages/tools/input-management/easy-save-the-complete-save-load-asset-768?_ga=2.86283544.1638775723.1605810081-1893381353.1546531620
📺 Dive into Unite Now year-round to join us for live sessions or watch sessions on-demand: https://on.unity.com/34P0yRX
📝 Did you find this video useful? Room for improvement? Complete this survey to let us know: https://on.unity.com/3mO3zIk
00:00 – 01:07 Introduction and agenda
01:08 – 05:45 PlayerPrefs
05:46 – 18:00 JSON and JsonUtility
18:01 – 19:20 Other libraries
19:21 – 20:49 Data security
20:50 – 21:57 Conclusion