FBX import results in different Vertex Counts

I’m using Unity 3.1 to import some game models that are all versions of the same model. I need all of the FBX models to have the same vertex counts as they are being used as morph targets in Unity.

The problem that I’m having is that when the models are imported into Unity, they have different vertex counts. If I open the same models in Max, the vertex counts are identical on all models. In fact, it is the same model, just the shape is being changed and the model is re-exported. All the models have the same materials and shading groups, because nothing other than the shape of the model has been changed between each FBX export.

Wondering if there is any ‘random’ function of the Unity FBX imported that might cause these models to have different vert counts. I have changed all the options in the model import dialogue and get different vertex counts with each setting, but the verts of each model never match each other no matter what I do.

I just wanted to note that in all the FBX imports the number of tris and submeshes has matched. It is only the verts count which are not equal in the imports.

Meshes have to be split on UV seams and hard edges. Vertex counts in modeling apps are only vaguely related to the vertices that you actually need to render them on the graphics card.

–Eric

set the normal settings to ‘import’ and not ‘calculate’. This should solve the problem. If it doesn’t set the tangents to ‘don’t import’.

I doubt that. Unity still needs to split vertices for UV and it does some more stuff…

It worked for me though I couldn’t understand how to use the morph script :confused:

The solution that neils suggested, setting the normal settings to ‘import’ and not ‘calculate’ solved many of the problems.

Not sure which script(s) you were trying to use neils, we used this one.

We also discovered this separate thread having the same issue and it had some suggestions that helped:

http://forum.unity3d.com/threads/60552-Maya-to-FBX-to-Unity-vertex-count-inconsistency