Search Unity

Editor is fine, Xcode build is fine, but release is not! WheelCollider Requires an attached rigidbod

Discussion in 'iOS and tvOS' started by samshosho, Jul 23, 2018.

  1. samshosho

    samshosho

    Joined:
    Apr 12, 2010
    Posts:
    370
    This is a never seen problem before.
    Car with rigid body and CarController script, the CarController script requires a Rigidbody, so the car definitely has a Rigidbody.
    In the Editor, the car works just fine, also when building through Xcode, it's fine. Wheel Colliders work as expected.

    However when testing the release version, by dragging the app file directly to the Devices, my iPhone, the wheel colliders will not work and throw the usual error message when there is no rigid body attached.

    WheelCollider requires an attached Rigidbody to function.

    Any idea?
     
  2. samshosho

    samshosho

    Joined:
    Apr 12, 2010
    Posts:
    370
    i hope a moderator can look into this and let me know if there is a solution to this problem