I agree with Naomi.
Hobbies could be the only thing you have in common with someone ,in that case it wouldn't necessarily bring you together or be a reason for you to get along.
However many times hobbies could be the starting point to get socially acquainted with people or to have something to chat about in small talks.