It can have an effect for sure, but it's it a necessary ingredient? Can you predict it, until players actually spend time together? Would you get rid of the best player on your team if three guys didn't get along with him? I think it's a big part of the managers job, but adjusting players on the team should be about talent, imo.