CombineMeshes and vertex colours

Hi,

I’m having an issue with CombineMeshes() ignoring vertex colours.

From a selection of vertex coloured objects create a CombineInstance array and pass it to CombineMeshes(). The first item in the array appears to have the colours correctly assigned in the output mesh but the remaining items from the array are all incorrect in the final mesh?

r.sharedMesh = new Mesh();
r.sharedMesh.CombineMeshes(combineInstances.ToArray(), false, false);

Any thoughts on this being a bug, or an issue on my side?

Thanks

Hi,

Just for the record it turns out the colours where corrupt on one of the input mesh. rendering the whole lot corrupt.

thanks