Star Wars: Return of the Jedi
In the end, the Death Star explodes, the rebels join the Ewoks in celebration, and Luke sees a vision of spiritual mentors. This ending was unpopular with fans as it was too joyful in comparison to other films in the franchise. The first script might have been better, as it had Han Solo die, with Leia becoming an independent leader.