 In April 2016 the "unfortunate" Dunkley scored an own goal in the final of the Football League Trophy against Barnsley at Wembley Stadium, a match which Barnsley won 3–2.On 7 May 2016, Dunkley scored the first goal in the final game of the 2015–16 season against Wycombe Wanderers, a game which United won 3–0 to secure promotion to League One.On 5 June 2017 it was announced that Dunkley would join Wigan Athletic at the end of his Oxford United contract.