On component overlap gives inconsistent results

I have a character with a capsule collision attached. If an object of a certain type(an arrow in this case) hits that collison, an event should trigger. But it’s very inconsistent and only triggers 30-50% of the time. Sometimes I can keep shooting and nothing happens, while at other times I can get two hits in a row.

I can’t see what’s causing this behaviour and I thought that maybe it happens too fast to trigger an event(just one reason provided by chatGPT). I’ve also tried “On Component Hit” but it doesn’t work at all. Any ideas?

The code is very simple:

does your projectile “Arrow” have a collider?

are both objects set to “Generate Overlap Events” = True/ticked ?

are the objects set to overlap each other in their respective collision response under the “Collision” section? (if the objects are set to overlap then Hit responses will not trigger for the interaction)

in the OnComponentOverlap/OnComponentHit out of the OtherActor do GetName and print it to the log see what the name of the other actor is (if you never gave it an explicit name it will be the name of the class/Blueprint with a number index)