I've had this happen to me before, and I've found that the only way to solve this is to log out of your Microsoft account then log back in. As long as you don't uninstall Minecraft, all you worlds and resource/behavior packs should stay. Hope this helps!
I've had this happen to me before, and I've found that the only way to solve this is to log out of your Microsoft account then log back in. As long as you don't uninstall Minecraft, all you worlds and resource/behavior packs should stay. Hope this helps!