How to destroy an instantiated game object upon collision (2D)? the other object isn't destroying.

private void OnTrigggerEnter2D(Collision2D other)
{
Destroy(other.gameObject);
}

Hello.

First, be sure Ontrigger event is executing, Once you are sure its executing, note that Destroy() destroys the object at the end of the frame.

Bye.