This crash seems to happen inconsistently in various different scenarios. The following ways to cause the crash have been found so far:
Loading a resource pack (reproduction steps are unknown)
Flying around in Creative mode (reproduction steps are unknown)
Flying around in Spectator mode (potential reproduction steps can be found in MC-293608)
Teleporting between dimensions multiple times in quick succession (this crashes the game somewhat consistently)
Stack trace:
java.lang.NullPointerException: Cannot read field "b" because "$$3" is null
at gvd$b.a(SourceFile:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at gvd.f(SourceFile:153)
at gri.c(SourceFile:1190)
at gri.a(SourceFile:479)
at grd.a(SourceFile:755)
at grd.a(SourceFile:518)
at fqq.c(SourceFile:1353)
at fqq.f(SourceFile:936)
at net.minecraft.client.main.Main.main(SourceFile:265)
Linked issues
is duplicated by 2
Attachments
Comments 9
Please test if this also happens when using the official vanilla launcher and Java runtime environment. PrismLauncher is an unsupported third-party launcher.
I got the same crash without having any resource packs enabled, just while flying around in creative.
[media]In 1.21.5 Pre-Release 1;
After I went back to the title screen after dying; I was going to create another world but then a game crash occured. the describtion in the launcher read:
Cannot read field "b" because "$$3" is null
I see a patch already in the notes for 1.21.5 Pre-Release 2; hopefully it works.
I just shared this as I did not have a world loaded anymore; as I was navigating between menus at the title after dying when the crash occured for me.
This also occurs when the player changes the main graphic settings.