Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Compute mesh inertia tensor failed for one of the actor's mesh shapes

Discussion in 'Physics' started by Mermelade, Dec 3, 2014.

  1. Mermelade


    Jun 18, 2014
    So i've been getting this error now. And I searched around in the forums and everyone says thats because an issue between planes and mesh colliders, the thing is that even tho i have planes, I don't have any mesh colliders, only box colliders assigned to the planes (one of the planes also has a rigidbody).

    Another thing is that I only get this error when I wrote the jumping code for the rigidbody where I used "rigidbody.velocity". when i erase that, the error is gone.

    any help? ( im very new to all this.)
  2. Barachiel


    Nov 25, 2012
    Though I'm no expert on the matter, I believe the box colliders need to have a non zero depth. Make sure that for the size of the box collider none of the values are left at 0, even something like 0.01 would work.