At the centre of Project Hail Mary is Dr. Ryland Grace, played by Gosling, a schoolteacher who wakes up alone on a spacecraft with no recollection of who he is or why he is there. As his memories gradually return, he comes to understand that he could be humanity’s final chance to prevent a global disaster.