Retna Digital 1 / 3

Jason Bateman loved working with Jennifer Aniston on their upcoming film, The Baster.

See photos of stars on set.

"It was great," he told at Kidstock Music and Art Festival in Beverly Hills on Sunday. "It was really fun."

In the comedy, Bateman, who also costarred with the actress in 2006's The Break-Up, plays her best friend who secretly replaces her donor's semen with his own.

See how Jennifer Aniston has changed through the years.

The two spent the past few months in NYC filming the comedy, which included an on-screen kiss.

See more photos of Jennifer Aniston's on-set PDA.

Although the actor, 40, has been married to actress Amanda Anka since 2001 (they have one daughter, Francesca, 2), he still has no dating advice for his single costar.

"I have no idea," he told Us when asked about her perfect mate.