Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Colliders work in editor, but not in build

Discussion in 'VR' started by unity_170230, Jun 15, 2019.

  1. unity_170230

    unity_170230

    Joined:
    Jan 19, 2018
    Posts:
    1
    Hey everyone.

    So, title. I am making a vr drumming simulator. There are colliders on the drums and colliders on the drumsticks. They collide to play a oneshot sound. Quite simple.

    However, in the editor, it all works fine, but when I build and launch the exe, the colliders don't work efficiently at all. It collides every so often but not with every collision.

    Any idea whats up? Thanks!

    P.S: I am using the Leap Motion controller for hand tracking as opposed to the wands, but I doubt that has anything to do with the drum sticks not colliding with the drums
     
  2. c_Feng

    c_Feng

    Joined:
    May 15, 2017
    Posts:
    17
    I seem to be getting the same issue with the Leap Motion hands. Leap Motion hands have colliders with a Rigidbody attached set to [isKinematic = true] and [collisionDetection = Continuous Speculative] while the object it needs to interact with has a trigger also with a Rigidbody of the same settings.

    Anyone have any ideas what's going on?