My AI isn't working correctly

After change my version of Unreal Engine 4.21 to Unreal Engine 4.26 my AI code isn’t working correctly. I have a problem with AI health. I shoot projectile and my AI not die.