Search Unity

Why does Unity think this mesh has more vertices than I think it does?

Discussion in 'General Graphics' started by invicticide, Jan 30, 2015.

  1. invicticide

    invicticide

    Joined:
    Nov 15, 2009
    Posts:
    109
    Consider the simple mesh shown in the attached image.

    The Unity Inspector is telling me that mesh has 33 verts. I see 12 verts, and my modeling package confirms the same (that is, there aren't any hidden duplicates).

    I see inflated vert counts in Unity on most of the meshes in our game, and our overall scene vert count is waaaay too high right now. When I see Unity thinking a mesh has almost 3x as many verts as it actually has, I start getting suspicious.

    Anyone know what might be going on here?
     

    Attached Files:

  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Vertices must be split on UV and normal seams. The value in Unity is correct.

    --Eric
     
    theANMATOR2b likes this.
  3. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Make that same object have only one smoothing group and import back into Unity.
    The vert count will then read 12 - until you add lights.