This is the list of BL where the characters suffer from unrequited love and one sided pining, only to find out later that the one they fall in with have mutual feelings with them.
There are stories where the character finds new and better love than their unrequited love too
The list is full so here's part 2:
https://www.mangago.me/home/mangalist/1890105/