Security was notoriously tight when it came to the production of Avengers: Endgame. Actor Emma Fuhrmann, who played an older version of Cassie Lang in the film, has now revealed what happened when she posted a rather innocuous image to social media.

"So, I had gotten to Atlanta to film, and there was this gorgeous sunset," Fuhrmann told ComicBook.com. "I took a picture of the sunset and posted it on my Instagram story, and I just tagged the location, Atlanta, Georgia. The next day, [Marvel's] head of security came to my trailer and talked to me about how I can't post that."

RELATED: After Endgame, Everyone Should Be Thanking Hulk - Not Tony Stark

"I was like, 'Well, I wasn't going to say I was on set of you know, Endgame or anything,'" she continued, "and they were like, 'No, we understand, you're not the first person we had to talk to about this today, but I've had people calling me all day trying to find out where you're going to be filming,' and that was such a sort of just like a, 'Okay, wow, this is real.'"

"It could not have gotten any realer, I really didn't understand just how large Marvel was, and how much of an impact it had," she added. "That really just was a sort of pinch me moment even though I was in a little bit of trouble."

RELATED: Spider-Man: Far From Home Pays Tribute to a Massive Endgame Moment

Directed by Joe and Anthony Russo, Avengers: Endgame stars Robert Downey Jr. as Iron Man, Chris Evans as Captain America, Mark Ruffalo as Bruce Banner, Chris Hemsworth as Thor, Scarlett Johansson as Black Widow, Jeremy Renner as Hawkeye, Brie Larson as Captain Marvel, Paul Rudd as Ant-Man, Don Cheadle as War Machine, Karen Gillan as Nebula, Danai Gurira as Okoye and Bradley Cooper as Rocket, with Gwyneth Paltrow Pepper Potts, Jon Favreau as Happy Hogan, Benedict Wong as Wong, Tessa Thompson as Valkyrie and Josh Brolin as Thanos. The film is set for release on Digital HD on July 30 and Blu-ray and 4K UHD on August 13.

KEEP READING: The Avengers' Jeremy Renner is a Pop Music Star Now - Yes, Really