Yes, physical compatibility do play role, but not in every case.
I personally believe that attraction is important, and both should look good when together.
In our culture, husband are usually ordinary looking guy.
I also noticed many handsome men are usually ended with ordinary looking girl.
it is my understanding that one factor of good looking is not helpful for whole life, you can look at other attributes of your spouse like the way hs/she talk, fashion sense, sincerity, faithfulness, sensitiveness, loyalty, making happy, etc