Expanded Library

Saving Persistent Player Data in Unity

by Michael Baker

Saving persistent player data has been a standard feature of games for decades. In this course, you will learn how to use the JsonUtility class and PlayerPrefs to automatically store and synchronize character stats between play sessions.

What you'll learn

Have you ever needed game data to persist between play sessions? If so, Saving Persistent Player Data in Unity is the perfect course for you, because you will create a data serialization system for a simple Action RPG game. First, you will learn about serialization systems in Unity. Next, you will work with the JsonUtility and PlayerPrefs to save and load data. Finally, you will add a persistent leveling system to a player character. When you are finished with this game development course, you will not only understand how serialization works in Unity but also how to create your own persistent character data systems. Software required: Unity 2018.2

Table of contents

Course Overview
1min
Working with JsonUtility and PlayerPrefs
7mins
Creating a Persistent Player Data System
14mins

About the author

Michael Baker is a game developer and graphics production expert with more than 15 years experience in games and VFX production. He's worked on big licensed projects based on Star Wars and Alien, and developed software tools for the popular Bullet Physics Framework which powers countless authoring tools, feature films, and games. In 2013, he co-founded Codex Worlds, and indie AAA game studio based in Austin, Texas.

Ready to upskill? Get started