Transformers: Age of Extinction (2014).
>Michael Bay initially declined to return. Stephen Sommers, Roland Emmerich, Jon Turteltaub, Louis Leterrier, David Yates and Joe Johnston were approached to replace him before Bonaventura convinced Bay to return.
>Bonaventura merged two separate pitches, one centered on Galvatron leading an uprising of man-made Transformers and one centered on Lockdown hunting down Optimus Prime on behalf of the Creators, to produce the final script.
>In early drafts, Lockdown was assisted by "Widowmaker", a psychotic female Cybertronian bounty hunter, but the character was scrapped in further revisions.
>In early drafts, archaeologist Darcy Tyrell had a larger role, including a romantic subplot with Cade Yeager, which was scrapped in further revisions.
>Jason Statham and Dwayne Johnson was approached for Cade Yeager before Mark Wahlberg was cast. The character would originally only be featured in one movie and sacrifice himself in the end, but further rewrites expanded his role and changed his fate.
>Margaret Qualley, Gabriella Wilde and Isabelle Cornish auditioned for Tessa Yeager before Nicola Peltz was cast. The character would originally be the franchise's new co-lead, but further rewrites reduced her role.
>Brenton Thwaites, Hunter Parrish, Landon Liboiron and Luke Grimes auditioned for Shane Dyson before Jack Reynor was cast. The character would originally be the franchise's new co-lead, but further rewrites reduced his role.
>During filming in Hong Kong, Bay was approached by local crooks who demanded protection money from the production. When he refused, one of them threw an air-conditioner at him, which he dodged, inspiring the scene where Cade throws an air-conditioner at Titus Welliver's James Savoy.
>Peter Cullen voiced his disagreement with Optimus' portrayal in the movie, particularly him killing a human, so the character was "softened" in the sequels once again.