Smiling Sydney Sweeney suffers a nip slip as she goes swimming in sheer lingerie and hugs one of her co-stars while filming her new movie at the beach in Sydney

She is filming an R-rated romantic comedy in Australia.

And Sydney Sweeney suffered an unfortunate wardrobe malfunction while shooting a beach scene with her female co-stars in Sydney on Monday.

The Euphoria star, 25, was seen playfully bounding through the water in sheer white lingerie when she accidentally popped out of her top.

Sydney didn’t appear to notice the nip slip, however, and continued splashing about with her bikini-clad castmates.

At one stage, the Washington-born actress enthusiastically embraced her co-star Hadley Robinson, 28, who sported a skimpy printed bikini.

Sydney showcased her famous cleavage and tiny waist during the scene, leaving little to the imagination in a white bra with pink lace detailing and a bow at the centre, and matching high-cut bottoms.

She swept her hair into a messy updo and completed her look with gold earrings and a matching necklace.

Also filming at the beach was Sydney’s co-star Alexandra Shipp, who looked fabulous in an orange bikini top and black G-string bottoms.

The actress and singer, 31, displayed striking tattoos on her upper thigh.

Leading man Glen Powell, 34, also appeared in the scene, showcasing his ripped physique as he went shirtless in a pair of brown and black swimming trunks.

A group of camera operators and crew members filmed the action from the beach.

For one shot, Sydney and Hadley held hands as they pranced down the sand.

Another shot showed Sydney mischievously jumping on Hadley’s back as they waded through the water.

When the shoot was over, producers rushed to cloak the stars in towels, covering them from view behind a wall of Bunnings Warehouse umbrellas.

Sydney is no stranger to steamy on-camera roles, having appeared topless in edgy HBO drama Euphoria.

Indeed, Sydney is now a trained MMA fighter and also competed in grappling competitions during high school.

The White Lotus star has been seen filming in various locations across Sydney in recent weeks, including the inner-city suburb of Surry Hills and Double Bay in the city’s east.

Her yet-to-be-titled romantic comedy is directed by Will Gluck, who helmed popular rom-coms Easy A and Friends with Benefits.

Details of the R-rated film’s plot are being kept under wraps, but the cast will include the likes of Bryan Brown, Michelle Hurd, Hadley Robinson and Darren Barnet.

The project is expected to bring AUD$41 million into the New South Wales economy, as well as creating more than 440 jobs for the cast and crew.

‘After two wonderful experiences on the Peter Rabbit movies, my family and I have a deep connection to Sydney and Australia,’ Gluck told IF of the project.

‘I am so excited to make a movie that shows Sydney for Sydney, especially because I won’t have to frame out the Opera House.’

Sydney is best known for her racy role in Euphoria, but she has recently been promoting her new film Reality.

Reality is based on true events that took place in the life of a woman named Reality Leigh Winner in 2017.

On June 3, Reality, a 25-year-old former Air Force linguist, was surprised by the FBI at her home in Augusta, Georgia.

She was interrogated and eventually charged with leaking evidence of Russian interference in the U.S. election of Donald Trump to the online whistleblower site The Intercept.

Reality was sentenced to five years and three months in prison, the longest federal sentence ever ordered for the unauthorised release of government information to the media.

The film itself is just an hour and a half of the interrogation that took place at her home.

In an interview with The Hollywood Reporter, Sydney spoke about what it was like playing the role of Reality.

‘I definitely felt the weight of the importance of every word and every moment that was shared between these characters, because Reality had lived a life before this,’ she said.

‘We show this very incredible snapshot of a moment and from my conversations with Reality, I filled it in.’

She continued: ‘So when you meet this character on screen, you meet Reality.

‘You just meet her for this one day in her life, but you can get a sense of who she is, where she came from, what’s going on in her mind as she’s trying to figure out what to say to these FBI agents.’

The film was directed by Tina Satter, who wrote the Broadway play Is This a Room, which was also about the interrogation of Reality Winner.