Galaxy Quest (1999, dir. Dean Parisot)

The former stars of a Star Trek-like TV show are mistaken for genuine space heroes by an alien race searching for saviours. Three Amigos! / A Bug’s Life redux, perhaps, but with excellent casting, a sense of fun, and affection for genre and conventions (of both kinds) throughout.