The singer, who has supported the Rams since he was four, was being filmed at Pride Park for a new film being made about the boy-band.
The film is being directed by Morgan Spurlock, who is the documentary maker behind Supersize Me, where he ate nothing but fast food for 30 days to see what effect it had on his health.
Niall had a kick-about on the pitch with some of his friends before the game kicked off, but no other members of the group were there.
More top news
Any mist or fog will clear quickly during the morning leaving the rest of the day dry with plenty of hazy sunshine.
Saturday will be fine and dry with sunny spells but with a noticeable easterly breeze.
Former Aston Villa, Coventry City and Leicester City star Dion Dublin tells ITV News Central how he thinks his former teams are doing.