Collisions not Being Detected Properly

Problem was that collisions weren’t being detected properly

I have solved the problem, the solution I came to has been commented on this post

I have solved the issue.
What I did to solve it is that I added a RigidBody2D to the enemy, and set it to dynamic. This has solved the issue.