1 of 3 | Ryan Gosling plays Ryland Grace in "Project Hail Mary." Photo by Jonathan Olley/Prime Video

July 1 (UPI) -- Project Hail Mary is coming to Prime Video this week.

The hit sci-fi film will start streaming on the service Friday, more than three months after its release in theaters March 20.

Project Hail Mary is based on the Andy Weir novel, which follows Ryland Grace, a science teacher and former biologist who wakes up to find himself the sole survivor on a spaceship.

Ryan Gosling plays Ryland in the film adaptation, which sees the character battle amnesia and find an unexpected friend as he adjusts to his new normal.