George Clooney's nearly 30-pound weight loss for 'The Midnight Sky' landed him in the hospital

George Clooney’s weight loss for The Midnight Sky landed him in the hospital.

Four days before filming was to begin on the Netflix movie, which comes out Dec. 23, Clooney — who lost nearly 30 pounds for the role — was hospitalized with stomach pains and was diagnosed with pancreatitis, his publicist confirms to Yahoo Entertainment.

“He has fully recovered,” Stan Rosenfield says.

Acute pancreatitis is a disease in which the pancreas becomes inflamed. Symptoms range from mild discomfort to a severe, life-threatening illness.

While promoting the film, which was shot from October 2019 through February 2020, Clooney, who both directs and stars, told the Mirror, "I think I was trying too hard to lose the weight quickly and probably wasn't taking care of myself.”

“It took a few weeks to get better and as a director, it’s not so easy because you need energy,” Clooney told the outlet. “We were out on this glacier in Finland, which made it a lot harder to work. But it certainly helped with the character,” a cancer-stricken scientist in the Arctic Circle who’s in a race to reach a crew of astronauts and warn them of an impending global catastrophe.

US actor George Clooney takes part in a press conference in central London to present a  report on atrocities in South Sudan on September 19, 2019. (Photo by Tolga AKMEN / AFP)        (Photo credit should read TOLGA AKMEN/AFP/Getty Images)
George Clooney (Photo: TOLGA AKMEN/AFP/Getty Images)

The film —based on the novel Good Morning, Midnight by Lily Brooks-Dalton — also stars Felicity Jones and David Oyelowo.

This is the second time recently that Clooney was hospitalized while in production on a film. In 2018, he was rushed to a hospital on the island of Sardinia after he suffered injuries in a motorbike crash.

Read more from Yahoo Entertainment: