Failed to initialize window - Minecraft 26.1.2 crash
Describe the bug
Game crashes immediately on startup. VulkanMod's WindowMixin fails to
initialize its config field before Window.config.windowMode, resulting in a NullPointerException.
Tested with only VulkanMod + Fabric API. No other mods involved.
Problem:
Game crashes immediately during window initialization:
java.lang.NullPointerException: Cannot read field "windowMode" because "config" is null
at com.mojang.blaze3d.platform.Window.setMode(Window.java:1276)
at com.mojang.blaze3d.platform.Window.
Environment
- Minecraft: 26.1.2
- Fabric Loader: 0.19.2
- VulkanMod: 0.6.4
- Java: 25.0.1
- OS: Linux x64 (kernel 6.17.0)
- GPU: AMD Radeon Vega 8 (RADV RAVEN, Vulkan 1.4.335)
- Launcher: Prism Launcher 11.0.2 (flatpak)
Steps to reproduce
- Install Minecraft 26.1.2 with Fabric Loader 0.19.2
- Add VulkanMod 0.6.4 and Fabric API
- Launch the game
Log files
Oops, forgot to attach the crash report: crash-2026-04-25_00.29.04-client.txt
This issue was introduced in 0.6.4, and it looks like the crash is happening because the new version can't create the config file. When the config file is already present before launching, the game works fine.
Workarounds:
-
Downgrade to VulkanMod 0.6.3 or wait for a newer version.
Or
-
Generate the config file from another version like 0.6.3 and then upgrade to 0.6.4.
This is fixed now on 0.6.5