I didn't cracked the egg before he hatched but I still got the AP, probally it bugged cause the egg had still 75% HP left.