James McAvoy will star in M. Night Syamalan’s next project after a deal could not be made for Joaquin Phoenix to star.

Shyamalan would direct with Jason Blum on board to produce.

As with any Shyamalan project, plot details are under lock and key, but the project will likely include elements of the supernatural. Given Blum’s involvement, the project’s budget will probably be relatively small, which would be more on par with Shyamalan’s “The Visit,” which has overperformed at the box office since bowing in September, bringing in $53 million and counting in U.S. grosses on a budget of $5 million.

Marc Bienstock also produces, while Ashwin Rajan and Steven Schneider are on board as exec producers. Production is expected to start this November in Philadelphia. The film is currently not set up at a studio.

McAvoy can be seen next in Fox’s “Victor Frankenstein” as the iconic doctor. He is also set to star in “X-Men: Apocalypse” as Professor X next summer.

He is repped by UTA and United Agents. The news was first reported by the Hollywood Reporter.