You may be getting tunneling. If the bullet is small and moving fast, it can pass through the collider in less than a frame in which case it won't be detected. Try slowing down the bullet. Also, I would assume your bullet has a rigidbody. Perhaps you can post the bullet instantiation script. The problem lie there and not in the collision script.
that means that the function isn't being called.
– Jason_DBYeah try fiddling around with rigid bodies and 'is trigger'.
– _Petroz