Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    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:
    18
    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?
     
unityunity