Joseph Gordon-Levitt Joins Cancer Film

Actor replaces James McAvoy in Seth Rogen comedy

Joseph Gordon-Levitt is taking over the role that James McAvoy was to have played in the untitled cancer comedy that Jonathan Levine is directing for Summit Entertainment and Mandate Pictures.

Summit said McAvoy left the project, which begins filming Monday in Vancouver, "due to unrelated circumstances beyond his control." Neither the film company nor the actor's reps offered any further explanation.

Gordon-Levitt will appear opposite Seth Rogen in the autobiographical tale, written by Will Reiser, of a man dealing with cancer. The film also stars Anna Kendrick, Bryce Dallas Howard, Anjelica Huston and Philip Baker Hall.

Producing are Rogen, Evan Goldberg and Ben Karlin; Reiser is exec producing alongside Mandate president Nathan Kahane.

"It's incredibly unfortunate that circumstances outside of everyone's control have taken James away from the project, but, with James' blessing, we were able to have Joseph step in to take on the role of Adam," Rogen said. "We all look forward to working with James in the future."

Gordon-Levitt, repped by CAA, recently starred in "(500) Days of Summer" and Sundance "Hesher." He next appears in "Inception."