How to Save Game Settings in Unity as JSON

Опубликовано: 06 Май 2026
на канале: GameDev with Tony
3,779
50

We'll cover how to give scriptable objects 'memory' in this video, ensuring their data persists between game sessions. This can be used to save game configuration settings, storing its data in a scriptable object. We'll serialize these values to a JSON file that you can save to disk. Upon the game's next launch, these values will be read, parsed, and used to populate the scriptable object, as well as to adjust the controls.

00:00 - Introduction
00:23 - Project Overview
01:25 - Project Setup
02:42 - Scripts Review
07:02 - Putting It Together

Subscribe:    / @gamedevwithtony  

Join my Discord server!   / discord  
My Github: https://github.com/gamedevwithtony
X (formerly Twitter): https://x.com/gamedevwithtony

#UnityTutorial #Unity2D #GameDev #GameSettings #LearnUnity #UnityBeginner #UnityEffects #IndieDev #MadeWithUnity #ScriptableObjects #DataPersistence #Serialization #JSON #CodingForBeginners #SimpleUnityTutorial #EasyGameDev