If the Homeward Bone is used immediately after killing an enemy, yet before said enemy's souls have been collected, the souls will not be given to the player upon loading at the last bonfire. One should always make note to allow time for the souls to collect before teleporting, especially after boss fights.