You 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.
I had a solo career before Van Halen. My fan base filtered through Van Halen with me and came right on out the other side with me.