If there is an egg eater, put fake eggs in the nesting boxes to discourage eating. Also take the real ones out as soon as possible. Rats will eat eggs, and try to take them away also. Try looking up a thread or video on how to stop rats from eating eggs.