Skip to content

Minecraft 26.2 crashes after joining world with Sulkan 0.4.2 #11

Description

@ivarzzz

Minecraft 26.2 crashes shortly after joining a world when using Sulkan 0.4.2.

The game launches correctly and Sulkan successfully uses Vulkan on my NVIDIA GPU, but when joining a world the client crashes because Minecraft tries to access the player before the player object exists.

Crash:
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.player.LocalPlayer.getInventory()" because "this.minecraft.player" is null
at net.minecraft.client.multiplayer.MultiPlayerGameMode.ensureHasSentCarriedItem(...)
at net.minecraft.client.multiplayer.MultiPlayerGameMode.tick(...)
at net.minecraft.client.Minecraft.tick(...)

I also previously got a similar crash where:
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.Level.tickRateManager()" because "this.level" is null

I tested with a very minimal mod setup and the issue still happens.

Setup:

  • Minecraft 26.2
  • Fabric Loader 0.19.5
  • Fabric API 0.160.0+26.2
  • Sodium 0.9.2+mc26.2
  • Sulkan 0.4.2
  • Java 25.0.3
  • Windows 11
  • NVIDIA GeForce RTX 3050 6GB Laptop GPU
  • NVIDIA driver 595.79
  • Vulkan backend active

The crash report confirms Sulkan is running with Vulkan and the RTX 3050 correctly.

The affected world shows 0 players when the crash occurs, so it looks like the client is ticking/rendering before the LocalPlayer is fully initialized.

I can reproduce this consistently.

crash-2026-09-13_21.10.52-client.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions