 On 8 February 2017, he made his debut in the 2017 AFC Champions League qualifying play-off against Brisbane Roar in a 2-0 defeat.He made his league debut for Shanghai on 5 March 2017 in a 4–0 home victory against Jiangsu Suning, coming on as a substitute for Cao Yunding in the 72nd minute.On 11 March 2017, Sun put his hand on Alexandre Pato's shoulder and gave him a thumbs-up sign after Pato lost a penalty in a league match against Tianjin Quanjian.