Bullet not being destroyed on collision

Hello! I am having some trouble with destroying game objects. I have it set so that when my bullet collides with anything with the tag of level, it destroys itself, accept that it doesn’t work. BTW my code is javascript.

`#pragma strict

function Start () {

}

function Update () {

}

function OnCollisionEnter(collision: Collision){
if (collision.gameObject.tag == “Level”)
Destroy (gameObject);
}`

just a small checklist:

  1. Ensure both the object tagged with level and the bullet have 3D colliders on them.
  2. Ensure your level tag is written correctly (including spelling and capitalization).
  3. Ensure the script is on the bullet.

Did any of this solve your problem?

“Notes: Collision events are only sent if one of the colliders also has a non-kinematic rigidbody attached”