Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug ProBuilder "Duplicate Faces" tool breaks the mesh

Discussion in 'World Building' started by dgoyette, Oct 26, 2023.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,195
    PB 5.1.1, Unity 2021.3.31 LTS.

    Start with a new cube, and select all the faces

    upload_2023-10-26_12-4-52.png

    Duplicate Faces, copying the faces to a new Game Object (not to a submesh). I then slide the new object over a bit, and select both objects. You can see that the original object is hidden now, its faces complete gone.

    upload_2023-10-26_12-5-40.png

    If you look in the inspector, both of these object use the exact same mesh:

    upload_2023-10-26_12-7-42.png

    It seems like this tool should create a new mesh, instead of using the same one.

    If you then start moving the verts around on the two objects, it will toggle which object is showing its faces.

    If I close out of the scene and reopen it, there's some chance that one of the objects gets assigned to a new PB Mesh. But while in the scene, the two objects will kind of be fighting each other.