The hero does not receive experience when destroying units

I created a hero, created all the necessary algorithms, added a bonus to experience for killing, but the hero does not receive experience for killing units. (I created without triggers) Please help.

“Default” units by default have the No Kill Experience flag enabled. Turn that off in Unit data.

Thank you very much!