I was gonna play minecraft but it said play demo because i changed my password but when i went back it said play demo and that i had to buy it again. And it changed my name from IloveCrystalMeh to Player.
Linked issues
Comments

Please follow the instructions in MCL-16570.
I've been having this same problem it started ever since the 1.16.5 update I'm not sure what cause this