In my experience it's not essential to get on with the person that you're acting opposite.
Hugh DancyYou can still have chemistry on screen without getting on with the person. But it just makes your job a lot easier if you don't have to gird your loins, if that's not quite the right phrase, every time you're going to do a scene with that person.
Hugh Dancy