Olivia Wildeis opening up aboutbeing served custody papersfrom exJason Sudeikisonstage in the middle of an April CinemaCon presentation.

In a newVarietycover story, theDon’t Worry Darlingdirector and actress says she “hated that this nastiness distracted from the work of so many different people and the studio that I was up there representing,” as she previewed her upcoming thriller at the Las Vegas event.

“To try to sabotage that was really vicious,” continued Wilde, 38. “But I had a job to do; I’m not easily distracted.”

“But, you know, sadly, it was not something that was entirely surprising to me,” she added. “I mean, there’s a reasonI left that relationship.”

While a rep for Sudeikis, 46, declined to comment, a source close to the actor tells PEOPLE, “This was obviously someone’s big mistake and Jason was really upset. Jason didn’t want that.”

For more on Olivia Wilde, listen below to our daily podcast PEOPLE Every Day.

“The process server chose where to do it that way and it was messed up,” the insider adds. “But no one would have ever known she was served onstage if someone close to her hadn’t revealed what was in the envelope, because people thought it was a script.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human-interest stories.

Zoe McConnell for Variety

olivia wilde

Wilde and Sudeikis have been embroiled in a legal battle pertaining to where they will parent their children — daughterDaisy, 5, and sonOtis, 8 — among London, Los Angeles and New York City.

“Since Jason has made it clear that we will not be able to work this out for our children’s sake outside of the court system, I filed a petition for custody in Los Angeles,” Wilde said, in part.

Olivia Wilde (L); Jason Sudeikis.Gabe Ginsberg/WireImage; Rich Fury/Getty

Director and actress Olivia Wilde attends Warner Bros. Pictures “The Big Picture” presentation at Caesars Palace during CinemaCon 2022, the official convention of the National Association of Theatre Owners, on April 26, 2022 in Las Vegas, Nevada. (Photo by Gabe Ginsberg/WireImage; Jason Sudeikis, winner of Outstanding Lead Actor in a Comedy Series for ‘Ted Lasso’, poses in the press room during the 73rd Primetime Emmy Awards at L.A. LIVE on September 19, 2021 in Los Angeles, California. (Photo by Rich Fury/Getty Images)

Sudeikis reiterated in his own filing, reportedDM,that he did notintend for Wilde to receive the papers onstageat CinemaCon, but instead requested that they be served at Heathrow Airport — and that plans to serve them at the hotel she was staying at for CinemaCon went awry.

“I understand that the process server had only done her job; however, I deeply regret what happened,” said the actor. “Olivia’s talk was an important event for Olivia, both professionally and personally, and I am very, very sorry that the incident marred her special moment.”

While she didn’t name Sudeikis while referring to the CinemaCon incident in her conversation withVariety, Wilde told the outlet, “It was my workplace. … In any other workplace, it would be seen as an attack. It was really upsetting. It shouldn’t have been able to happen.”

“There was a huge breach in security, which is really scary,” theBooksmartdirector continued. “The hurdles that you had to jump through to get into that room with several badges, plus specialCOVIDtests that had to be taken days in advance, which gave you wristbands that were necessary to gain access to the event — this was something that required forethought.”

Of Otis and Daisy, Wilde toldVariety, “The only people who suffered were my kids, because they’ll have to see that, and they shouldn’t ever have to know that happened. For me, it was appalling, but the victims were an 8- and 5-year-old, and that’s really sad.”

She added, “I chose to become an actress; I willingly walked into the spotlight. But it’s not something my children have asked for. And when my kids are dragged into it, it’s deeply painful.”

source: people.com