If you transferred the original finger print sensor from the old display to the new one, it typically requires recalibration. If not, then the finerprint sensor is programmed to that specific device and a new or replacement one won't work without reprogramming it. As far as I know, oneplus doesn't make the reprogramming software publicly available. Thanks, OnePlus!
This one on eBay should do the trick https://www.ebay.com/itm/275420607111?chn=ps&mkevt=1&mkcid=28&srsltid=AfAwrE6D9oDjpVQ_7a3gGuyOHAwilbfIJ8o2GEMn0ejTFrLUy1kgzGv3PH0
This guide should help as well https://www.youtube.com/watch?v=FsZFyGXcYM4