Both Object player and enemy has Collider attached. Enemy object also has Trigger selected.
I have no idea what causing it not to work. I’m working on 2D project. It used to work on 3D project.
Additionally, On Collision Enter also not working. I ran out of idea that why I come here.
If you look in your colliders or physics menus you’ll notice that there are different types of colliders and so on that operate a similar way, Rigidbody and Rigidbody2D and so on, it’s just something to bear in mind when working in 2D or 3D.