I open the minecraft launcher, click play to open the game, the game tries to open but fails and displays an error code 0. When I open up the output log, the error code is -1073741819.
For the trouble shooting, I've checked for windows update, removed antivirus, checked for java and minecraft launcher update, checked if pc components are up to date, tried both windows 7/8 launchers, tried the windows 10/11 launcher, deleted the game entirely and reinstalled multiple times, removed all mods, ran a repair on minecraft launcher, tried logging in with a microsoft account and mojang account seperately, downloaded another alternative launcher. After all of these the issue still persists.
I was told its caused by a bug and to create this here.
Linked issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-20220, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid, which means this is a technical support issue. Please take a look at the parent ticket (MC-20220) and see if a solution is provided there.
If you need additional help to fix this problem, please contact Community Support and refer to this ticket (e.g. "I have reported this issue on Mojira as MC-XYZ.").
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 – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Try this: minecrafthopper.net/help/exit-code/code-1073741819/