- Home /
collisions not detected
I am trying to make a game where a ball collides with a wall which loads another scene through onCollisionEnter. The project works fine in the Unity but nothing happens when I collide with the wall in the android version. I've tried using onTriggerEnter. Is there any way to fix this problem or is there any way to get around the problem and collide with the door with other code?
What is your Unity version. try to edit:
if (other.tag == "wall")
to
if (other.gameObject.CompareTag("wall"))
if it not work try to update unity to new version
Answer by Dream_in_code · Sep 09, 2016 at 10:03 AM
during build of the android version have you dragged all the required scenes inside Build settings? If you have you put them in correct order.
Your answer
Follow this Question
Related Questions
How to make objects collide once 1 Answer
OnCollisionEnter being called without the colliders actually colliding 1 Answer
Collision detection when no collision happens,OnCollision is called without a collision 1 Answer
Collision with no contact? 2 Answers
Problem with Vectrosity line colliders 0 Answers