Saving Loading Minecraft-Like World

Hello, I’m working on a Minecraft Clone for a project. I only have the Saving Loading processes to complete, and then my game is done. I tried using Unity Serializer, but Unity kept crashing. How would I save a mesh that was randomly generated at runtime into an XML file? A game obviously needs a save feature. Especially a Voxelish game. Any thoughts? I know XML isn’t the best choice, but it’s what I want, okay? Thanks in advance!

Save values for vertices, triangles, normals, colors (same for the collider), and so on. Then load the values and regenerate the mesh?

Hmmm…That may work. I’ll try it.