[19][20] That same year, he appeared in a supporting role in the Lifetime original television movie Instakiller, which marked his film debut.
[23] In April 2020, Barnet began starring in the Netflix teen comedy-drama streaming television series Never Have I Ever, as Paxton Hall-Yoshida, the crush of Devi Vishwakumar, the show's lead character, played by Maitreyi Ramakrishnan.
"[25] Both Never Have I Ever and Barnet's performance received positive reviews, with Netflix reporting that the series had been viewed by 40 million households globally since its release.
[26][27] The following month, he appeared in a brief role as character Wilfred "Freddy" Malick in the seventh season of ABC and Marvel's television series Agents of S.H.I.E.L.D.
[28][29] Later that year, Barnet starred in Universal Pictures' direct-to-video sex comedy film American Pie Presents: Girls' Rules.
[31] The film was released on Prime Video, iTunes, and Vudu; and was positively received by critics and audiences, with praise for the cast's performances.
[41][42][43] Barnet starred and served as a producer on Michael Leo DeAngelo's psychological thriller drama film Apophenia.
[46][47] He voiced the lead character Jak in Ascendant Studios' Immortals of Aveum video game, released in August 2023.
[48] Barnet portrayed Matty Davis in the sports film Gran Turismo, based on the true story of Jann Mardenborough.