That was my problem with backyard chickens. The raccoons are too clever. They never got into the coop, but they were persistent about weakening the run, and eventually learned our schedule for putting them in the coop for the night, and got up early to beat us to it. Chickens are a tragic pet just because absolutely everything wants to eat them.