My issue is extremely similar to MCL-19986, but with a clear distinction. I wanted to lead with this so it doesn't get immediately merged and resolved. I haven't trawled the site to see if this specific issue exists elsewhere.
A couple of days I was playing Minecraft: Java Edition on version 1.18 with OptiFine installed. Today, there are only two "Installations" in Minecraft, "Latest Release 1.19" and "Latest Snapshot 22w24a. The aforementioned issue recommended replacing the "launcher_profiles_microsoft_store.json" file with the contents of the "launcher_profiles.json" file.
My folder does not have that first file(_microsoft_store). There are still 32 folders in the "Versions" folder, but none other than the latest are shown in the launcher_profiles.json file. As far as I can tell, nothing has changed about my computer or Minecraft installation since I last played 2 days ago.
How do I solve this problem? Every tutorial or solution I have found is about the "microsoft_{_}store" file, which I again don't have.
Thank you for your report!
We're tracking this issue in MCL-21794, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki