Search Unity

NpScene::createJoint: desc.isValid() fails!

Discussion in 'Scripting' started by bug5532, Mar 21, 2013.

  1. bug5532

    bug5532

    Joined:
    Aug 16, 2011
    Posts:
    307
    Hi,
    I'm getting this error when trying to connect a newly created hinge joint to to another rigidbody.
    Code (csharp):
    1. NpScene::createJoint: desc.isValid() fails!
    2. UnityEngine.Joint:set_connectedBody(Rigidbody)
    It seems to work correctly, just throws this error message....

    Any Ideas?

    Edit: I think I may have been attaching the hinge to its self.... my bad.
     
    Last edited: Mar 22, 2013
  2. EricDaily

    EricDaily

    Joined:
    Dec 31, 2012
    Posts:
    16
    Hey, did you ever figure out what was the problem? I've getting a similar error.
     
  3. cj31387

    cj31387

    Joined:
    May 23, 2012
    Posts:
    143
    Yep its attaching the joint to its own gameobject.