Cutting UMA2 meshes during run time

Hi everyone,

I’m using a mesh cutter asset to cut skinned meshes into pieces. I want to use UMA2 to generate characters dynamically that can be cut into pieces. However, when I do the call to the slice I’m getting the error that the mesh can’t be changed because readable/writeable is not set to true in the editor. However, the problem is that UMA2 generates these meshes and the meshes that I find in the folders of UMA2 all have the readable/writeable value set to true.

So, I’m at a loss here. I desperately want the game to have dynamic characters and dynamic cutting, so can someone please give me some advice on how to set it up?

I seem to have found the solution.

Comment out:
renderers[currentRendererIndex].sharedMesh.UploadMeshData(umaData.markNotReadable);

in UMAdefaultmeshcombine.cs