Raycasting stops working on certain animations

On this animation , raycasting works fine. (Test sounds as I mouse on him)

On the dying animation, it abruptly stops working halfway through the animation and no longer works anymore. (No more test sound as I mouse on him)
Why?

are your collision masks changing for different frames? one might be set too small so the raycasting never hits it