Compagnon joined Udinese's youth setup aged 11. In 2018–19, Compagnon scored five goals in the Campionato Primavera 1; the following season, he scored eight in 18 games in the Campionato Primavera 2. Compagnon was first called up to the first team on 19 July 2020, in a Serie A game against Napoli. He made five bench appearances in 2019–20, without featuring for Udinese.