Are there any windows in the coop? How large is it and how many birds do you have?
Poorly lit coops are notorious for birds being reluctant to enter at roost time because they don't see well in the dark/dim light. Coops designed with lots of windows to allow in lots of light work very well.