OnCollisionEnter not getting called
This may be happening due to the collider and script containing OnCollisionEnter() not being on the same object.
Possible solution:
- Move the script containing
OnCollisionEnter()to the same object as the collider.