Okay, so we’re going back to the “hurt animations play for enemies not being punched” thing, sounds good!
So the next thing you’ll want to do is do something to let us know what enemy is being targeted. My guess to what is happening is: based on your inputs, it’s switching target after the attack animation, but before the damage is going out.
On your sphere trace for objects, you will want to activate your Draw Debug (only for a SHORT time so we don’t fill the screen forever with them) see pic:

You are no longer getting that error code, though, correct? Let’s verify things before moving on!