Building a survival game with dedicated servers?

Hey everyone.
I want to create a procedurally generated survival game, with integrated dedicated servers to make playing with your friends easier. However, I haven’t found any tutorials on how to actually save the world you are playing on, so you don’t have to start over every time you connect to the server.
Is this even possible, and do I use Photon, Mirror, or is there another networkings solution I can use?
Thanks in in advance.

You can use Photon Pun/ Pun 2/ Pun Classic, to create easy room joining across the internet, using Photon’s dedicated servers. They have some example projects of creating and joining rooms over Wi-Fi.


If you want to save your world for everyone to access, there are multiple ways of going about this. For example, assuming your game is like Minecraft, you could create a text file of the perlin noise settings to proceduraly re-generate the same world as the host, and send that data across the network for all the players to share. Any edited blocks or destroyed blocks must also be saved, and dealt with accordingly. Preferably in the same manner.


Networking is not a simple thing. From experience, I’ve learnt that learning new things require a lot of effort and time. However, I’m willing to assist you if you choose to use Photon Pun Classic, to create your multiplayer game. @sofuscraft

Hi, thanks for the reply! Right now the only thing I have setup in my game is Pun 2 and a simple character controller, so I haven’t made the procedurally generated terrain yet.

I’d really like some help regarding this whole thing, as I can’t find any videos or tutorials anywhere about this.
I was also wondering if there is any way I can prevent the clients from having to regenerate a word, and just load it from a folder instead?