Our project has a few of these: Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor’s mesh shapes! Please change mesh geometry or supply a tensor manually!
I’ve read various threads, like this one: http://forum.unity3d.com/threads/8342-Error-unknown-from-quot-Actor-updateMassFromShapes-quot
…which discuss how to fix the problem. However, I can’t even locate the objects generating the error (we have thousands of objects in our scene).
I’m trying to write an Editor script which will detect objects with the properties that trigger this, but no matter what I try I still get the error.
I’ve tried: MeshColliders with a mesh where extents are 0 in one dimension, MeshColliders lacking a mesh, non-convex MeshColliders with a RigidBody attached, MeshColliders with RigidBodies that have an inertia tensor of magnitude 0, and RigidBodies that have inertia tensors of 1.0 in all dimensions (it seemed like MeshColliders with missing meshes generated (1, 1, 1) inertia tensors, so I thought that might be the default).
Anyone have any more suggestions for me?
Thanks!