Rain Man (1988)
While filming, Dustin Hoffman accidentally passed gas, however, he and Tom Cruise made it look like it was part of the scene. Actors managed to stay in character and spontaneously created such a good scene that it became a fan favorite.