While the two franchises have often divided fans in disagreement over which is the superior space story, the two lead stars have now teamed up for the tongue-in-cheek clip.
In the ad, Hamill and Stewart meet in an empty warehouse, where they face off and even debate the pronunciation of the word “tomato”.
Stewart shared a 45-second clip on his Twitter, writing: “Honoured to have battled it out with @hamillhimself to settle one of the greatest debate of all time: what’s for dinner?”
“Tonight, I’ll be eating a veggie cheeseburger on ciabatta,” says Hamill. “No tomatoes.”
Stewart replies: “Tonight, I’ll be eating four-cheese tortellini with extra tomatoes.”
Stewart then taunts Hamill by saying “careful now daddy’s not here to save you,” to which Hamill says, “I am my daddy” – leading to confusion.
Hamill starred as Luke Skywalker in the original Star Wars trilogy, and reprised his role for the newest films.
Stewart, meanwhile, played Captain Jean-Luc Picard in Star Trek: The Next Generation, which ran from 1987-1994, and recently reprised the role for the new series Star Trek: Picard.