Describe the bug
Bug: Crash on startup - NoSuchMethodError: STBImageResize.stbir_resize_uint8
Environment:
- Minecraft Version: 1.21.11
- Meteor Client Build: 82
- Launcher: ZalithLauncher
- Renderer: MobileGlues (OpenGL 4.0)
- Device: Samsung Galaxy S25 Ultra (Android 16, arm64)
- Java: Internal-21 (21.0.1)
Description:
Meteor Client crashes on startup after a recent Minecraft library update. This issue did NOT exist before the update — the same setup with the same settings (ZalithLauncher + MobileGlues renderer) was working perfectly fine with both Meteor and Wurst Client loaded together.
After the update, Minecraft 1.21.11 now ships with a newer version of LWJGL that has removed or changed the stbir_resize_uint8 method in STBImageResize. Meteor Client's TexturePacker still calls this old method, causing a crash before the game fully loads.
Crash log excerpt:
java.lang.IllegalStateException: Error running @PostInit task 'GuiRenderer.init'
...
Caused by: java.lang.NoSuchMethodError: 'boolean org.lwjgl.stb.STBImageResize.stbir_resize_uint8(java.nio.ByteBuffer, int, int, int, java.nio.ByteBuffer, int, int, int, int)'
at meteordevelopment.meteorclient.gui.renderer.packer.TexturePacker.addResized(TexturePacker.java:83)
at meteordevelopment.meteorclient.gui.renderer.packer.TexturePacker.add(TexturePacker.java:60)
at meteordevelopment.meteorclient.gui.renderer.GuiRenderer.addTexture(GuiRenderer.java:66)
at meteordevelopment.meteorclient.gui.renderer.GuiRenderer.init(GuiRenderer.java:71)
Steps to reproduce:
- Install Meteor Client build 82 on Minecraft 1.21.11 (Fabric)
- Launch the game via ZalithLauncher with MobileGlues renderer
- Game crashes immediately during initialization
Expected behavior: Game launches normally as it did before the LWJGL update.
Fix needed: Update TexturePacker.addResized() to use the new LWJGL STBImageResize API instead of the deprecated stbir_resize_uint8 method.
Steps to reproduce
- This setup (ZalithLauncher + MobileGlues renderer + Meteor + Wurst together) was working perfectly fine before a recent Minecraft library update.
- After the update, installing Meteor Client build 82 on Minecraft 1.21.11 (Fabric) causes a crash on startup.
- Launch the game via ZalithLauncher with MobileGlues renderer → game crashes immediately during initialization.
Meteor Version
1.21.11-82
Minecraft Version
1.21.11
Operating System
Linux
Before submitting a bug report
Describe the bug
Bug: Crash on startup -
NoSuchMethodError: STBImageResize.stbir_resize_uint8Environment:
Description:
Meteor Client crashes on startup after a recent Minecraft library update. This issue did NOT exist before the update — the same setup with the same settings (ZalithLauncher + MobileGlues renderer) was working perfectly fine with both Meteor and Wurst Client loaded together.
After the update, Minecraft 1.21.11 now ships with a newer version of LWJGL that has removed or changed the
stbir_resize_uint8method inSTBImageResize. Meteor Client'sTexturePackerstill calls this old method, causing a crash before the game fully loads.Crash log excerpt:
Steps to reproduce:
Expected behavior: Game launches normally as it did before the LWJGL update.
Fix needed: Update
TexturePacker.addResized()to use the new LWJGL STBImageResize API instead of the deprecatedstbir_resize_uint8method.Steps to reproduce
Meteor Version
1.21.11-82
Minecraft Version
1.21.11
Operating System
Linux
Before submitting a bug report
This bug wasn't already reported (I have searched bug reports on GitHub).
This is a valid bug (I am able to reproduce this on the latest dev build).