Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Serializing a ProBuilderMesh for runtime load/save

Discussion in 'World Building' started by thelebaron, Sep 9, 2020.

  1. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    851
    Preface - I havent had a whole lot of experience serializing so..
    Besides the Vertices(Vertex) and faces (Face) is there anything else that I'm overlooking for serializing pbmeshes?
    Also is there a way to serialize these using the binary formatter without recreating the entire class(was running into issues regarding unity vector types not being serializable)? Just the verts and faces creates a pretty heavy json file for a few meshes, cant really imagine this being feasible for a full sized map.