Minecraft 1.13 Snapshots Crash on Launch
Upon launching any of the latest Minecraft snapshots, the game immediately crashes. There are no new files in minecraft/crash-reports, and when I try to launch the game twice the launcher itself crashes. I am not using any mods.
This does not solve my problem. 1.12 works fine.
Environment
macOS 10.12.6 Sierra, Java 9.0.1
Linked Issues
Created Issue:
Minecraft 1.13 Snapshots Crash on Launch
Upon launching any of the latest Minecraft snapshots, the game immediately crashes. There are no new files in minecraft/crash-reports, and when I try to launch the game twice the launcher crashes. I am not using any mods.
This does not solve my problem.
Environment
macOS 10.12.6 Sierra, Java 9.0.1
Upon launching any of the latest Minecraft snapshots, the game immediately crashes. There are no new files in minecraft/crash-reports, and when I try to launch the game twice the launcher itself crashes. I am not using any mods.
This does not solve my problem.
Upon launching any of the latest Minecraft snapshots, the game immediately crashes. There are no new files in minecraft/crash-reports, and when I try to launch the game twice the launcher itself crashes. I am not using any mods.
This does not solve my problem. 1.12 works fine.
duplicates
The bug
Minecraft crashes when launching snapshot versions 17w49a/b and 17w50a. I have already seen MC-121738 , which says that disabling custom resolution would fix the problem. This didn't work for me, however.
To clarify, all versions and snapshots prior to 17w49a work perfectly fine, even 17w48a works perfectly.
Crash report
Description: Initializing game java.lang.IllegalStateException: Not a JSON Object: null at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) at rl.a(SourceFile:73) at rl.a(SourceFile:66) at sd.a(SourceFile:35) at ry.a(SourceFile:38) at sa.a(SourceFile:33) at bnh.a(SourceFile:1170) at bne.an(SourceFile:437) at bne.a(SourceFile:365) at net.minecraft.client.main.Main.main(SourceFile:140)
Is there a file named something like hs_err_pid in the minecraft folder?
Yes, and I have attached it.
Also, after running ulimit -c unlimited on the Terminal, and adding it to .bash_profile, before restarting the launcher, it still didn't work.
Disable custom resolution from launcher.
I'm on Linux here, but I believe installing the GLFW shared object could fix it on macOS as well, since on Linux here, MC uses the system GLFW shared object, so it's possible it uses it on macOS as well, since only on Windows is the developer expected to provide the libraries they are using.
So, yeah, try installing GLFW and see if it works.
(guide: https://stackoverflow.com/a/23533364)
Also, a less likely problem might be your usage of Java 9. If installing GLFW doesn't fix it, maybe downgrading Java (to the latest 8; I advise you not to try 7) will help.
@Furkam Kerim Karademir's solution worked. Thanks!
I can confirm with the above. Having a profile that sets custom resolution will have the snapshot instantly crash. And only for the snapshots of 1.13. 1.12 and the like are unaffected so this was recently introduced.
Guess for now the solution is to turn it off. (hopefully fixed soon!)
Happy it wasn't related to my recent moving of files around. (since snapshots are stored in a different area than release)