Unity Serializer saving to file

Hello, I’ve been using Unity Seralizer. And I’m using it to make a minecraft-like save feature.

However the terrain doesn’t exist until the actual game is started.

So whenever I try and load a save after closing the actual game. It just generates a new world. Instead of using the one that’s already generated. So how would I go about loading and saving from a file?

For example here are some images.

This is the data that’s created after the play button is pressed.

Before the play button is pressed. There aren’t any objects. I hope this helps :slight_smile:

alt text

You need to save the seed that your noise is using, not each block.
Save also changes made by users but that’s separate from generation.
When you load, first restore the seed then as your generator scans through each block, test if the block was change and fork your generation to restoring that block.