Installed versions not showing
I installed Forge 1.12.2, OptiFine 1.19.2 and 1.19.4, and only OptiFine 1.19.2 is displayed in the list of installations, although the versions folder contains all the previously specified installations.
Created Issue:
Installed versions not showing
I installed Forge 1.12.2, OptiFine 1.19.2 and 1.19.4, and only OptiFine 1.19.2 is displayed in the list of installations, although the versions folder contains all the previously specified installations.

Hello DOSVlaDOS,
Please try the following steps:
If it still doesn't work:
The issue should be resolved.
Please note that the Mojang bug tracker cannot be used to report issues related to mods.
Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki