Workaround
Open the
%appdata%/.minecraft
folderCreate a copy of
launcher_profiles.json
Delete
launcher_profiles_microsoft_store.json
Rename the copied version of
launcher_profiles.json
tolauncher_profiles_microsoft_store.json
When I opened up the Minecraft Launcher today, I saw an alert that told me that there was a new Launcher version that I could download from the Microsoft Store. I said, 'alright,' and downloaded it.
But, alas, upon opening the Store Version I discovered that all my versions were gone!
If I open the Old Version, it still has all my versions.
I don't wanna have to redo everything, pleas fix.
Linked issues
is duplicated by 26
Attachments
Comments 7

i guess because they use different launcher version so they just reset your modded and other minecraft installation

What's the workaround?

the new launcher uses a different file to contain the versions available
"launcher_profiles_microsoft_store.json"
the old launcher used
"launcher_profiles.json"
a reddit post about a third party launcher modification I won't mention here initially required you to rename this file to install (but no longer requires that) my understanding from the instructions is that the file is identical, only differently named. if you go to your minecraft installation, you should (hopefully) find the old file and should (hopefully) be able to rename the new file to something else (just in case) and then rename the old file to the new name and launch the launcher to gain access to your previous versions again.
not my instructions, I have not tried this, and although there were positive posts saying it worked for them in the reddit thread, do so at your own risk and make backups. That said, based on what I read there, I feel 90% certain this will work without any issues.

my recommendation to resolve this "bug" would be to add to the new launcher install script to check for the existing old file and copy the data from it into the new file on install.

It's actually stunning that Mojang didn't think about this when making the new launcher, or before releasing it.

Joel, you did not need to put a wall of text here, there is already a workaround in the description, and yes, it does work.
Thanks again violine1101
I was able to confirm this; I kept the old launcher open while the new one was installing, this might or might not have caused the issue.
I've added a workaround, this should fix the issue without the need to redo all your profiles manually.
It appears that UI state is reset as well (most importantly the "snapshots" checkmark) but that's way less intrusive.