Mark Hamill secretly voiced a character in 'The Mandalorian'

Ben Arnold
Mark Hamill arrives at the world premiere of "Star Wars: The Rise of Skywalker" on Monday, Dec. 16, 2019, in Los Angeles (Jordan Strauss/Invision/AP)

Thanks to The Mandalorian, Mark Hamill has now worked on every one of the Star Wars movies and spin-offs, bar the prequels.

The Luke Skywalker icon has revealed that he secretly voiced a character for showrunner Jon Favreau’s Disney+ series.

Read more: Jon Favreau updates on The Mandalorian season two

It transpires that Hamill played EV-9D9, the droid bartender at the infamous Mos Eisley cantina on Tatooine, in the fifth episode of the spin-off series.

Hamill was outed on Twitter as being the voice of the droid (which also originally appeared in Return of the Jedi).

At which point, the actor also revealed that he's also somewhere in Rogue One and Solo, as well as all of the sequel films.

“Hint: Look for parts played by Patrick Williams,” he added, with IMDb indeed confirming that Hamill also played Boolio, the rebel collaborator who meets a tragic end in Star Wars: The Rise of Skywalker.

Hamill has long built a career away from his Star Wars work as a voice artist.

Read more: What to expect from The Mandalorian S2

As well as being known for his role as the Joker in the long-running Batman animated series, he's also appeared on dozens of other shows, including Futurama, the Spider-Man animated series and Cartoon Network's Regular Show, in which he plays gruff groundskeeper Skips.

Meanwhile, the second series of The Mandalorian – hopefully with some input from Hamill hidden somewhere – is set to land on Disney+ in October.