Pear trees do need a second pollinator tree (must be of the pear family) to produce fruit. Having 2 of the same variety does not help as they  are the same genetics and it will not allow cross pollination.