Ryan Gosling stars as Ryland Grace, a middle-school science teacher and brilliant molecular biologist recruited by Eva Stratt (Sandra Hüller), the head of an international task force. Their mission: stop a mysterious organism called Astrophage — literally, a ‘star eater’ — from consuming the Sun and plunging Earth into catastrophe.
Ryland awakens from stasis aboard the spaceship Hail Mary, the sole survivor of a desperate deep-space expedition to find a solution to the Astrophage problem. He has no memory of who he is or why he’s there. As his memories gradually return, so too does the sobering truth: he may be humanity’s last hope. Fortunately, he’s not alone. Deep in space, Ryland encounters an alien traveller he dubs Rocky (James Ortiz) — so named for his rock-like appearance — and strikes up an unlikely friendship with him.
Early in his career, Gosling was famous for playing psychologically tortured souls, but he has intentionally steered away from — or at least, become more selective about — darker roles since having children with his wife, Eva Mendes.