UltimMC / Launcher

Offline Minecraft launcher.
Other
1.4k stars 152 forks source link

Exit code 255 #372

Closed Dodge100 closed 3 months ago

Dodge100 commented 3 months ago

Operating System

No response

Description of bug

Params: --username Dodge1 --version 1.20.1 --gameDir /Applications/UltimMC.app/Data/instances/Modpack attempt #1/.minecraft --assetsDir /Applications/UltimMC.app/Data/assets --assetIndex 5 --uuid --accessToken --userType local --versionType release

Window size: 854 x 480

Java Arguments: [-Xdock:icon=icon.png, -Xdock:name="UltimMC: Modpack attempt #1", -XstartOnFirstThread, -Xms512m, -Xmx8192m, -Duser.language=en, -javaagent:/Applications/UltimMC.app/Data/injectors/authlib-injector-1.2.5.jar=http://localhost:64754, -Dauthlibinjector.noShowServerName]

Minecraft process ID: 24282

[authlib-injector] [INFO] Logging file: /Applications/UltimMC.app/Data/instances/Modpack attempt #1/.minecraft/authlib-injector.log [authlib-injector] [INFO] Version: 1.2.5 [authlib-injector] [INFO] Authentication server: http://localhost:64754 [authlib-injector] [WARNING] You are using HTTP protocol, which is INSECURE! Please switch to HTTPS if possible. Using onesix launcher.

[authlib-injector] [INFO] Transformed [net.minecraft.client.main.Main] with [Main Arguments Transformer] [authlib-injector] [INFO] Transformed [com.mojang.authlib.properties.Property] with [Yggdrasil Public Key Transformer] [15:40:47] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 86 milliseconds [15:40:48] [main/WARN]: Unrecognized user type: local [15:40:48] [Render thread/INFO]: [STDERR]: [LWJGL] Failed to load a library. Possible solutions: a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath. b) Add the JAR that contains the shared library to the classpath. [15:40:48] [Render thread/INFO]: [STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics. [15:40:48] [Render thread/INFO]: [STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics. [authlib-injector] [INFO] Httpd is running on port 49476 [authlib-injector] [INFO] Transformed [fiv] with [Constant URL Transformer] [15:40:49] [Render thread/INFO]: [STDERR]: Failed to start Minecraft: [15:40:49] [Render thread/INFO]: [STDERR]: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem [15:40:49] [Render thread/INFO]: [STDERR]: at ab.a(SourceFile:66) [15:40:49] [Render thread/INFO]: [STDERR]: at enn.a(SourceFile:2424) [15:40:49] [Render thread/INFO]: [STDERR]: at enn.a(SourceFile:2419) [15:40:49] [Render thread/INFO]: [STDERR]: at net.minecraft.client.main.Main.main(SourceFile:220) [15:40:49] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [15:40:49] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [15:40:49] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [15:40:49] [Render thread/INFO]: [STDERR]: at java.base/java.lang.reflect.Method.invoke(Method.java:568) [15:40:49] [Render thread/INFO]: [STDERR]: at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) [15:40:49] [Render thread/INFO]: [STDERR]: at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) [15:40:49] [Render thread/INFO]: [STDERR]: at org.multimc.EntryPoint.listen(EntryPoint.java:143) [15:40:49] [Render thread/INFO]: [STDERR]: at org.multimc.EntryPoint.main(EntryPoint.java:34) [15:40:49] [Render thread/INFO]: [STDERR]: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.dylib [in thread "Render thread"] [15:40:49] [Render thread/INFO]: [STDERR]: at org.lwjgl.system.Library.loadSystem(Library.java:164) [15:40:49] [Render thread/INFO]: [STDERR]: at org.lwjgl.system.Library.loadSystem(Library.java:63) [15:40:49] [Render thread/INFO]: [STDERR]: at org.lwjgl.system.Library.(Library.java:51) [15:40:49] [Render thread/INFO]: [STDERR]: at org.lwjgl.system.MemoryUtil.(MemoryUtil.java:100) [15:40:49] [Render thread/INFO]: [STDERR]: at ehh.(SourceFile:8) [15:40:49] [Render thread/INFO]: [STDERR]: at eie.(SourceFile:48) [15:40:49] [Render thread/INFO]: [STDERR]: at eil.(SourceFile:19) [15:40:49] [Render thread/INFO]: [STDERR]: at eil.(SourceFile:23) [15:40:49] [Render thread/INFO]: [STDERR]: at eil.(SourceFile:11) [15:40:49] [Render thread/INFO]: [STDERR]: at com.mojang.blaze3d.systems.RenderSystem.(SourceFile:50) [15:40:49] [Render thread/INFO]: [STDERR]: at net.minecraft.client.main.Main.main(SourceFile:208) [15:40:49] [Render thread/INFO]: [STDERR]: ... 8 more [15:40:49] [Render thread/INFO]: [STDOUT]: Exiting with -1 Process exited with exit code 255 (0xff). Please note that usually neither the exit code, nor its description are enough to diagnose issues! Always upload the entire log and not just the exit code.

Steps to reproduce

tried to run minecraft 1.20.1. this happens for all old versions and only works for version 1.21

Suspected cause

No response

This issue is unique