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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

"Actor::updateMassFromShapes" error?

Discussion in 'Editor & General Support' started by bigkahuna, Dec 17, 2007.

  1. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    I've imported a simple Unity 1.62 project into Unity 2.01 and got this error message that won't clear:

    Code (csharp):
    1. Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually!
    How do I fix this?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    This shows up when you attach a rigidbody to a mesh collider that is a plane or generally a shape that contains no volume.

    Most likely you didn't want to have a mesh collider attached to that rigidbody.
     
  3. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    Fixed it, thanks!
     
  4. nm8shun

    nm8shun

    Joined:
    Jul 14, 2007
    Posts:
    476
    This is an old post - but it solved a problem for me today. Thanks!!
     
  5. levye

    levye

    Joined:
    Dec 15, 2010
    Posts:
    19
    could you tell me how you solved it? I have same problem as well. I have a plane and attached mesh collider to it. I can not use box collider as it is axis alligned which can not solve my problem. Thanks
     
  6. zachypin

    zachypin

    Joined:
    Jun 7, 2011
    Posts:
    33
    Thanks!
     
  7. Casti

    Casti

    Joined:
    Apr 2, 2010
    Posts:
    1
    This post helped me today!!!

    I just removed the rigitbody component from the plain structure and the error is gone.

    If the message is still there, then clear the error from the log, the problem may be fixed but the message sometimes doesn't clean automatically

    Thank you for documenting this problem.
     
  8. Petrov

    Petrov

    Joined:
    Apr 14, 2011
    Posts:
    6
    Did this too, fixed the Problem. Thanks to the people in this thread :)