<aside> ✅
To use it, chunks need to have checked “Use Save System”:
</aside>
When Chunk is unloaded from the level (either player moves too far away from it or player stops the game) it calls the Saving System to save the chunk’s data.
Each chunk has its own SaveGame file called “ChunkSave_X_Y_Z” where the XYZ is the position of the chunk.
When the chunk gets spawned into the new position it first checks if there isn't some saved data associated with the position. If yes, it loads them.
Only modified chunks are saved for optimalization reasons.