It's a well known and old bug that the exp sync between server and game doesn't work sometimes, leading to wasted exp, which leads to frustration and advance impediment. But it all can be fixed by making character stamina and exp be client side, meaning it doesn't need to sync, except for upload, and nothing will be lost.