Quoted By:
I managed to find a Mega Venusaur energy task so I though I'd mega evolve it to start accumulating energy through walking, and apparently Niantic never coded the extra candy bonus correctly, because 4 candies show up in my inventory, but not when I catch the Pokemon.