"The game crashed whilst … exit code: 1" tells you almost nothing. Here is what the common codes usually mean and what to try, in order.
Exit code 1
The game itself stopped with an error. Most often:- A mod problem: a mod for another Minecraft version or loader, a missing library (Fabric API!), or two mods that clash. Remove the newest mods first.
- Wrong Java for the version (26.x needs Java 25; see the Java thread). Launchers normally bring their own, so check you didn't force an old one.
- Broken settings: rename
options.txtand try again.
Exit code -1
Usually graphics: an old GPU driver, a shader pack or an overlay (recording, FPS counters, RGB software). Update the driver from NVIDIA/AMD/Intel, turn off shaders, close overlays.Exit code -805306369
Often memory: the game ran out of the RAM it was given, or Windows ran out. Give 4–6 GB to a modded game (not more than half of your RAM), close the browser, and don't use giant render distances with big modpacks.Exit code 1073741819 (0xC0000005)
A Windows "access violation", very often the graphics driver or something hooking into the game (overlays, antivirus, old OptiFine). Clean-install the GPU driver and try without OptiFine/shaders.Read the log – it tells you the real cause
Open.minecraft/logs/latest.log or the newest file in .minecraft/crash-reports. Look for "Caused by:" and for mod names near the top of the error. Paste the important lines (not the whole file) in Help & support and we will help.Still stuck?
- Try the game with no mods at all. If it works, it's a mod.
- Make a fresh profile/instance and add mods back a few at a time.
- On laptops, make sure Minecraft (javaw.exe) runs on the dedicated GPU (Windows Settings → Display → Graphics).
