Riley Keough and Andrew Garfield shared the screen in the 2018 thriller Under the Silver Lake.Photo:Michael De Luca Productions / Stay Gold Features / Vendian E / AlbumRiley Keoughnever thought a granola bar could shut down a movie set — and potentially threaten her costar’s life.But while filming the 2018 mystery-thrillerUnder the Silver LakewithAndrew Garfield, an innocent snack led production to a halt.“I was in the makeup trailer and I was eating, like, a granola bar or something, and I was about to shoot a scene where I have to kiss Andrew,” Keough explained toVanity Fair.Keough didn’t know, however, that Garfield has a severe nut allergy.“The makeup lady was like, ‘Are there peanuts in that?’ “And I was like, ‘I think. I don’t know.’ ”“And then she like, ran away,” Keough said.The makeup artist returned with the film’s producer, who alerted the actress, 34, to Garfield’s allergy.Andrew Garfield and Riley Keough appeared together in the 2018 film Under the Silver Lake.Vendian Entertainment/Kobal/ShutterstockNever 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.“The producer came in and was like, ‘Riley, Andrew’s very allergic to peanuts and we have to shut the set down. They shouldn’t have been at craft [services, the on-set catering], and I don’t know why they’re on set.’ ““I was kind of like, ‘Oh, f–, that’s crazy,” theDaisy Jones & the Sixstar said. “But also, like, thank God that this woman caught it, ‘cause I had no idea.”Peanut allergies can cause the life-threatening reaction anaphylaxis, according tothe Mayo Clinic, which causes the throat to swell and makes breathing difficult.It can also cause a rapid pulse, loss of consciousness, and a drop in blood pressure.“Peanut allergy is the most common cause of food-induced anaphylaxis, a medical emergency that requires treatment with an epinephrine (adrenaline) autoinjector (EpiPen, Auvi-Q, others) and a trip to the emergency room,” says Mayo Clinic.The actor’s allergy is so severe that a friend from Chile, Sebastian Aguirre, taught Garfield, 39, how to tell people he’s allergic to “all kinds of nuts”in Spanish— adding that it would lead to his “muerte” (death).“It was actually very stressful,” Keough remembered of the tense moment. Otherwise, she said she has fond memories of the film, in which she played a woman who disappears.“This was a very cool movie to film because it was in Los Angeles,” Keough, who welcomed daughterTupelo Stormwith husbandBen Smith-Petersenlast year, said. “I’ve only ever been able to film three things in Los Angeles, which is where I live.”

Riley Keough and Andrew Garfield shared the screen in the 2018 thriller Under the Silver Lake.Photo:Michael De Luca Productions / Stay Gold Features / Vendian E / Album

RILEY KEOUGH and ANDREW GARFIELD in UNDER THE SILVER LAKE

Michael De Luca Productions / Stay Gold Features / Vendian E / Album

Riley Keoughnever thought a granola bar could shut down a movie set — and potentially threaten her costar’s life.But while filming the 2018 mystery-thrillerUnder the Silver LakewithAndrew Garfield, an innocent snack led production to a halt.“I was in the makeup trailer and I was eating, like, a granola bar or something, and I was about to shoot a scene where I have to kiss Andrew,” Keough explained toVanity Fair.Keough didn’t know, however, that Garfield has a severe nut allergy.“The makeup lady was like, ‘Are there peanuts in that?’ “And I was like, ‘I think. I don’t know.’ ”“And then she like, ran away,” Keough said.The makeup artist returned with the film’s producer, who alerted the actress, 34, to Garfield’s allergy.Andrew Garfield and Riley Keough appeared together in the 2018 film Under the Silver Lake.Vendian Entertainment/Kobal/ShutterstockNever 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.“The producer came in and was like, ‘Riley, Andrew’s very allergic to peanuts and we have to shut the set down. They shouldn’t have been at craft [services, the on-set catering], and I don’t know why they’re on set.’ ““I was kind of like, ‘Oh, f–, that’s crazy,” theDaisy Jones & the Sixstar said. “But also, like, thank God that this woman caught it, ‘cause I had no idea.”Peanut allergies can cause the life-threatening reaction anaphylaxis, according tothe Mayo Clinic, which causes the throat to swell and makes breathing difficult.It can also cause a rapid pulse, loss of consciousness, and a drop in blood pressure.“Peanut allergy is the most common cause of food-induced anaphylaxis, a medical emergency that requires treatment with an epinephrine (adrenaline) autoinjector (EpiPen, Auvi-Q, others) and a trip to the emergency room,” says Mayo Clinic.The actor’s allergy is so severe that a friend from Chile, Sebastian Aguirre, taught Garfield, 39, how to tell people he’s allergic to “all kinds of nuts”in Spanish— adding that it would lead to his “muerte” (death).“It was actually very stressful,” Keough remembered of the tense moment. Otherwise, she said she has fond memories of the film, in which she played a woman who disappears.“This was a very cool movie to film because it was in Los Angeles,” Keough, who welcomed daughterTupelo Stormwith husbandBen Smith-Petersenlast year, said. “I’ve only ever been able to film three things in Los Angeles, which is where I live.”

Riley Keoughnever thought a granola bar could shut down a movie set — and potentially threaten her costar’s life.

But while filming the 2018 mystery-thrillerUnder the Silver LakewithAndrew Garfield, an innocent snack led production to a halt.

“I was in the makeup trailer and I was eating, like, a granola bar or something, and I was about to shoot a scene where I have to kiss Andrew,” Keough explained toVanity Fair.

Keough didn’t know, however, that Garfield has a severe nut allergy.

“The makeup lady was like, ‘Are there peanuts in that?’ “And I was like, ‘I think. I don’t know.’ ”

“And then she like, ran away,” Keough said.

The makeup artist returned with the film’s producer, who alerted the actress, 34, to Garfield’s allergy.

Andrew Garfield and Riley Keough appeared together in the 2018 film Under the Silver Lake.Vendian Entertainment/Kobal/Shutterstock

Andrew Garfield as Sam, Riley Keough as Sarah “Under the Silver Lake”

Vendian Entertainment/Kobal/Shutterstock

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.

“The producer came in and was like, ‘Riley, Andrew’s very allergic to peanuts and we have to shut the set down. They shouldn’t have been at craft [services, the on-set catering], and I don’t know why they’re on set.’ "

“I was kind of like, ‘Oh, f–, that’s crazy,” theDaisy Jones & the Sixstar said. “But also, like, thank God that this woman caught it, ‘cause I had no idea.”

Peanut allergies can cause the life-threatening reaction anaphylaxis, according tothe Mayo Clinic, which causes the throat to swell and makes breathing difficult.

It can also cause a rapid pulse, loss of consciousness, and a drop in blood pressure.

“Peanut allergy is the most common cause of food-induced anaphylaxis, a medical emergency that requires treatment with an epinephrine (adrenaline) autoinjector (EpiPen, Auvi-Q, others) and a trip to the emergency room,” says Mayo Clinic.

The actor’s allergy is so severe that a friend from Chile, Sebastian Aguirre, taught Garfield, 39, how to tell people he’s allergic to “all kinds of nuts”in Spanish— adding that it would lead to his “muerte” (death).

“It was actually very stressful,” Keough remembered of the tense moment. Otherwise, she said she has fond memories of the film, in which she played a woman who disappears.

“This was a very cool movie to film because it was in Los Angeles,” Keough, who welcomed daughterTupelo Stormwith husbandBen Smith-Petersenlast year, said. “I’ve only ever been able to film three things in Los Angeles, which is where I live.”

source: people.com