Animation montage loops animation before notify

I’m trying to do something that sounds incredibly straightforward in my head yet it doesn’t work.

I have an animation montage with a notify in the middle of it. At the beggining of this notify, it should spawn an actor.
What is happening is that the animation before notify is looping. BUT it works sometimes. And it’s super inconsistent. Sometimes it loops for a good while and suddenly the actor spawns. Sometimes it works perfectly and suddenly it starts looping again.

Anyway, here are my blueprints:

Edit: Apparently it’s being caused by PawnSensing. It works great with event tick. Can I get it to work with pawn sensing?

For future reference for anyone reading this, I haven’t been able to make it work. So what I did is event tick → sense how distance the AI is from the pawn → if less than [distance] → shoots. This is a fairly simple enermy so this should be good, but kinds sucks I can’t use the built-in pawn sensing.