U3: CombineChildren makes object disappear ?

I’ve added the CombineChildren script to several objects in my recent project, and as soon as the game starts, they vanish. There is a “combined mesh” in the root object, and the colliders, etc. still exist, but no visible mesh anymore.

Is this a problem new to Unity 3 (I remember using CombineChildren just fine in 2.6) or is it in the way I’m using the script?

I created a new empty game object, dragged all the to-be-combined objects into it and added the script to the empty parent object.

Bump (Unity 3 only) !

As i have the same problem trying to combine several very little objects into one big, using the “CombineChildren.cs” script from StandardAssets/Utility Scripts (unity 3 pro).

Unity tells me that he can’t handle a so big object, but i’m sure it’s not so big !

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)

=> trying to combine 12 objects of 32 veritce each…

Yes, I got the same error message there.

If you’re sure there shouldn’t be that many vertices in the models then please can you file a bug report for this (menu: Help > Report A Problem).

Bug reported !

Hi Alewinn, do you have any news about this bug?

Don’t know if this is related:
I have a similar problem on my Unity iPhone by using Mobile/Transparent/Vertex Color shader on imported meshes.

I combine some standard cube mesh, with some cinema imported meshes by using the mentioned shader, and the cubes are visible, but the imported meshes disappears. In the mesh selector, the combined mesh seems to be complete.
Furthermore, by using another shader, for example Mobile/VertexLit or Transparent/VertexLit, it’s all working.

Someone has any idea?

Many thanks for your help :slight_smile:

Ok so I have a similar problem. I use this combine mesh script. But when used on my Vista 32-bit, AMD 2.6 ghz, GForce 9800 GT 512mb, 4gb Ram it works fine. When I use it on Android it works great. But when I try to use it on my notebook it does not. Notebook info is Intel 2.27Ghz i3, 4 mb Ram, Windows 7, ATI Radeon HD 5470. On notebook meshes do combine and colliders are in proper location just do not render. If anyone has any info it would be greatly appriciated.