Breeding compies is messed up. When the female lays the egg it spawns where you tamed her. So if you tamed her on the beach, and brought her back to your base,the egg will spawn on the beach! I don't know why, but it spawns where you tame

More Compy Taming & KO Tips