I’m trying to use the Combine Children script on a couple of small meshes that share the same material.
Mesh 1 has 678 vertexes.
Mesh 2 has 167 vertexes.
Adding the Combine Children script gives an error:
Mesh.vertices is too large. A mesh may not have more than 65000 vertices.
UnityEngine.Mesh:set_vertices(Vector3[ ])
MeshCombineUtility:Combine(MeshInstance[ ], Boolean) (at Assets/Standard Assets/Scripts/Utility Scripts/MeshCombineUtility.cs:170)
CombineChildren:Start() (at Assets/Standard Assets/Scripts/Utility Scripts/CombineChildren.cs:66)
Now it’s been some time since I took math, but last I checked 167+678 was way less than 65000 vertexes. Does this script actually work at all? Or is there some trick to it? I’ve tried compressing my meshes, turning off the triangulation option, etc. Always get the same error.
Update: I loaded and converted all the models to the latest fbx with the Autodesk FBX converter, and still see the same problem.
Has anyone else gotten the “combine children” script to work?