Robert Pattinson, Katy Perry Robert Pattinson, Katy Perry

Summer weddings are great and all, but they're even better when the stars crash them.

Longtime pals Robert Pattinson and Katy Perry made a surprise pit stop at Montecito, Calif.'s San Ysidro Ranch over the holiday weekend, inadvertently showing up at the wedding rehearsal of two strangers, People reports.

26 must-see summer movies

Pattinson and Perry — both reportedly single after splits from Kristen Stewart and John Mayer, respectively — appeared in the ranch's main courtyard on Saturday, sitting, talking, and watching the bridal procession. According to one of the rehearsal's guests, Stephanie Sands, it was the bride, Tanya Mayer, who spotted the famous faces.

"Katy and Rob were just sitting next to each other watching the wedding rehearsal in the main courtyard area," Sands told the magazine. "They were dressed very casually."

Tanya Mayer married John Rocotta the following day, sadly, with no surprise appearance from Perry and/or Pattinson.