Killing wrong enemy problem

Hello everyone, here’s the problem. I made enemies as a prefab. If I jump on an enemy, it doesn’t kill the enemy I stomped on, but the other one.

I realized if I add more enemies, that it always kills the one which has biggest number in its name, for example if I add another one, it will be called “Enemy (2)”, and if I jump on any enemy, Enemy (2) will be killed.

Here’s the video for better explanation (sorry for not being HD): Unity problem - YouTube

I do not know what I did wrong?

@ unity_8wp5jbgC5h3eXg I had this same problem too and fixed mine by deleting the prefab instance off the enemies and renaming them all the name Enemy without the numbers after them. It fixed my issue. Hope this helps! :slight_smile: