John Legend and Ryan Gosling bonded over fatherhood.

Ryan Gosling

Ryan Gosling

The 'All of Me' hitmaker met the 36-year-old actor on the set of 'La La Land' and enjoyed their discussions about what it is like becoming a father for the first time.

He said: "Amada [Gosling's daughter] and Luna [Legend's daughter] were both born in April. We talked about it.

"We had just announced that we were pregnant right around when we were filming the movie, so ... he definitely kind of shared how joyous it is to be a new father and gave me something to look forward to."

And the 37-year-old singer admits he is a huge fan of the 'Crazy, Stupid, Love' star and relished in the chance of working alongside him.

He added to Entertainment Tonight: "That made me feel a little bit more comfortable, that he was learning something new too and had that sense of ... the struggle of a new thing. I was really impressed with him playing the piano, and I thought he was doing a really good job.

"I've been a fan of his work as a film actor for such a long time, so I was excited to work with him. I was just hoping that he didn't think I brought him down too much, knowing that he's been doing this for a long time and I haven't."

Meanwhile, John previously admitted fatherhood has inspired him to write "better" music.

He said: "I think [what's different about it is] just growing up. Having been married for a few years, and having a baby, and all those other things, I think it just informs your perspective a bit and it makes you look at the world a little bit differently. It helped me write songs, and be inspired to write better music, I think."