Conflict with RenderLib
qiMengStars opened this issue · 3 comments
(Note: This text has been translated using a translation tool.)
In Minecraft 1.12.2 using Forge 14.23.5.2860, when only adding RenderLib, Universal Tweaks, and its prerequisite mods, the game crashes shortly after a popup window appears. The crash log is provided below:
---- Minecraft Crash Report ----
WARNING: coremods are present:
UniversalTweaksCore ([通用修改] UniversalTweaks-1.12.2-1.14.0.jar)
MixinBooter (!mixinbooter-10.5.jar)
ConfigAnytimePlugin (!configanytime-3.0.jar)
RenderLibPlugin (RenderLib-1.12.2-1.4.1.jar)
Contact their authors BEFORE contacting forge
// You're mean.
Time: 3/9/25 1:26 PM
Description: Initializing game
java.lang.NoClassDefFoundError: meldexun/renderlib/RenderLib
at meldexun.renderlib.opengl.debug.OpenGLDebugMode.setupDebugOutput(OpenGLDebugMode.java:342)
at net.minecraft.client.Minecraft.handler$zzg000$renderlib$init_createDisplay(Minecraft.java:3367)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:458)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
Caused by: java.lang.ClassNotFoundException: meldexun.renderlib.RenderLib
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 17 more
No Mixin Metadata is found in the Stacktrace.
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at meldexun.renderlib.opengl.debug.OpenGLDebugMode.setupDebugOutput(OpenGLDebugMode.java:342)
at net.minecraft.client.Minecraft.handler$zzg000$renderlib$init_createDisplay(Minecraft.java:3367)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:458)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112)
at oolloo.jlw.Wrapper.main(Wrapper.java:105)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_302, GraalVM Community
Java VM Version: OpenJDK 64-Bit Server VM GraalVM CE 21.2.0 (mixed mode), GraalVM Community
Memory: 356895992 bytes (340 MB) / 562036736 bytes (536 MB) up to 2959081472 bytes (2822 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn445m -Xmx2969m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
UniversalTweaksCore ([通用修改] UniversalTweaks-1.12.2-1.14.0.jar)
MixinBooter (!mixinbooter-10.5.jar)
ConfigAnytimePlugin (!configanytime-3.0.jar)
RenderLibPlugin (RenderLib-1.12.2-1.4.1.jar)
Launched Version:
LWJGL: 2.9.4
OpenGL: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2 GL version 4.6.0 NVIDIA 572.70, NVIDIA Corporation
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>
I'm unable to reproduce this issue with the specified mod set, are you running default configs? You can try if disabling opengldebugoutput in RenderLib's config file helps.
Thanks for your reply! I’ve identified the root cause and found a solution:
Plain Craft Launcher automatically adds Chinese names to mods in the format of [Chinese Name] at the beginning of the mod file name. This causes UniversalTweaks to load before RenderLib, leading to a crash.
If I remove the automatically added content or add other symbols to ensure RenderLib loads before UniversalTweaks, the game runs normally.