SpaceCamp is a 1986 American space adventure film based on a book by Patrick Bailey and Larry B. Williams and inspired by the U.S. Space Camp in Huntsville, Alabama. Directed by Harry Winer from a screenplay by Clifford Green (as W. W. Wicket) and Casey T. Mitchell, the film stars Kate Capshaw, Kelly Preston, Larry B. Scott, Lea Thompson, Tate Donovan, and Joaquin Phoenix (credited as Leaf Phoenix).
The film was panned by critics and is famous for being a "marketing nightmare," as it was released less than five months after the Challenger accident of January 28, 1986 (although filming was completed before the disaster occurred). The film performed poorly at the box office, grossing less than $10 million in the US. A rewrite of the book, released to coincide with the movie, mentioned how the teens struggled with pressure of their decision in light of the Challenger disaster.
(Summary from Wikipedia)