Actress Olivia Munn had an embarrassing wardrobe malfunction on the first day of filming "X-Men: Apocalypse" as she was trying to get into her costume.

Munn will mark her debut in the movie franchise as Psylocke, one of the people working with the film's villain Apocalypse. The dress disaster occurred while she was trying to get into her latex costume.

"Now it fits like a glove, but it's kind of hard because there's been times where I'm pulling and it pops like a balloon, which did happen on day one. I was like, 'Uh, guys, uh, do we have a backup? Sorry I popped my crotch,'" she told Entertainment Weekly.

Munn is an expert in handling wardrobe malfunctions, as she has had experience in dealing with them in real life as well.

Last year, she revealed a lot more than she intended during an interview with David Letterman, and she handled the snafu like a pro. Munn's thigh-high slit skirt started sliding up her leg during the interview, nearly revealing her crotch. But she soon adjusted the skirt before it became a scandal.

Later, she took to Twitter to comment on the wardrobe malfunction, writing: "Note to self: No more high-slit skirts."

In the Entertainment Weekly interview, Munn also elaborated on her "X-Men: Apocalypse" costume saying it's very sexual, as in the film the villain Apocalypse takes a special interest in dressing up all of his minions.

"Psylocke's outfit or uniform or suit or whatever you want to call it is very sexual. I've got like my thigh-highs and a halter, but the thing about that, and that was important, is that it doesn't matter what I'm wearing as long as we're all aware of who she is. She's very strong and she's very lethal and she's very powerful, and it doesn't really matter what she's wearing as long as you have that strength and that presence."

"X-Men: Apocalypse" is slated for a May 2016 release.