Still have questions? Join our Discord server and get real time help.
Log in to vote

How do I save and load terrain with ReadVoxels()?

Asked by 4 days ago

I have a building game, which I want to add a terrain system to, which can save and serialize the game's data but I'm not sure how to get terrain data, save, and load it.

1 answer

Log in to vote
Answered by 1 day ago
Edited 1 day ago

This is not unity, ReadVoxels does not exist.

The way that I save my terrain data is grab the seed, and also save the players Location, after they load in they'll be spawned in the same place, as well the same seed / terrain map.

To save buildings and such, I'd use DataStores to save builds (which is possible), I'd highly recommend this guy, highly detailing how it works.


Answer this question