Honestly I have no idea why it's crashing. I was thinking it might be the line of sight behavior, but I removed it from 2 objects and it still crashed. Your coding is pretty sloppy however, and you did do a lot of things messily, such as making your bullets solid to recoil the character, and spawning a new enemy object just to change the animation when they die. I didn't go over your events one at a time and check everything, but I can't help but think that the crash is caused by some obscure little detail like I mentioned. Then again it might be the collision bug acting up since you used 99.42, but i'm fairly sure it's being caused by a bugged event.