Ben Affleck’s rumored affair with his children’s nanny, Christine Ouzounian, amid his troubled marriage with Jennifer Garner has become a matter of concern for the studio of his upcoming film, “Batman v Superman: Dawn of Justice,” Radar Online reported. The news comes amid reports that the “Gone Girl” actor has resorted to drinking and womanizing.

According to a source, Warner Bros. has expressed its concern over Affleck’s nanny scandal and bad behavior, stating that it could affect the movie’s profits.

“The studio is freaking out over Ben’s personal life overshadowing his role,” the source told Radar Online. “Especially, when he is perceived as the cheater with a house full of children.

“Everyone is focused on the huge hit Ben’s public persona has taken,” the source reportedly said. “They are freaking about the plunge in popularity with his big movies coming soon, especially Batman v. Superman and The Accountant.”

After Affleck and Garner announced their divorce in June, reports surfaced that the 43-year-old actor was cheating on his wife. After the scandal, it was recently reported that 28-year-old Ouzounian was planning to reveal the secrets of her alleged relationship with Affleck in a reality television show.

In September, Affleck apologized to Garner for the way his alleged affair with Ouzounian came to light.

“Ben took responsibility for his relationship with their former nanny, Christine Ouzounian,” an insider reportedly said at the time. “The relationship had started after the couple had already split up, but Jen was humiliated when the relationship went public.”

Affleck has reportedly finished shooting for his latest project “Live by Night” in Brunswick, Georgia. The film is scheduled to release in 2017.

Meanwhile, Garner has moved on from Affleck and has recently been spotted spending time with her children. The former couple had sparked rumors of reconciliation but hopes faded as Affleck returned to drinking and "picking up women behind (Garner’s) back," a source told InTouch Weekly, according to OK! magazine.

Last week, reports surfaced that Garner had moved on from Affleck and was dating a new man. The rumors surfaced after he "13 Going On 30" actress was photographed with a "mystery man" while she was trick-or-treating with her kids on Halloween. However, Gossip Cop reported that Garner is not dating anyone and that the man was a neighbor.