Professor X has his doubts about the X-Men showing up in the Marvel Cinematic Universe.

James McAvoy, who has been playing Charles Xavier since 2011, is currently doing press from his new movie Glass. While speaking with Yahoo, he was asked about a possible crossover between the X-Men and the Avengers now that Disney has acquired the rights to the X-Men franchise from Fox.

RELATED: Beale Street Star KiKi Layne "Actively" Wants to Play X-Men's Storm

"I don’t know if the X-Men could go into the Marvel universe, I’m not sure, maybe they could?" McAvoy replied.

While many think it's an inevitability and one of the major driving forces behind Disney's acquisition of the property, McAvoy's concerns are in regards to the story, not the legality. He went on to question the integration of characters and the inherent racism that has always been tied to the mutants of Marvel Comics.

"I think what’s different about the Avengers universe anyway is you’ve only got a couple of superheroes in the world," he said. "There’s a good amount, but there’s like a couple of football teams’ worth, you know what I mean? Whereas in the X-Men world you’re potentially saying there are hundreds of thousands, maybe millions of [superheroes] and the social implication of that is different.”

In the Marvel movies, the heroes are mostly treated as just that -- heroes. However, in both the comics and the previous films, mutants, the X-Men in particular, are often met with hostility, anger and fear from the world around them. It's a hurdle the comics have to deal with, and a character element you can't remove. That said, the heads over at Marvel Studios no doubt already have a plan in place to explain the mutants, likely similar to how they handled the Inhumans on ABC's Agents of S.H.I.E.L.D.

RELATED: Bryan Singer Banned Comic Books on X-Men Movie Set

As for Glass co-star Samuel L. Jackson -- who also happens to play Nick Fury for Marvel -- he seems more confident in something getting worked out. With a laugh to the question, he responded: "There's a way to fit it, yeah."

Glass, the latest film to be written and directed by M. Night Shyamalan, is slated for release on Jan. 18. The film stars James McAvoy as Kevin Wendell Crumb/The Beast, Bruce Willis as David Dunn, Anya Taylor-Joy as Casey Cooke, Samuel L. Jackson as Elijah Price/Mr. Glass and Sarah Paulson as Dr. Ellie Staple. It will be the third installment of the story which started with 2000's Unbreakable, and then in a surprise move, continued in 2016's Split.