All The Tweaks (allthetweaks) encountered an error during the common_setup event phase
floriaaan opened this issue ยท 8 comments
I just downloaded the modpack via Curseforge on ManyMC (M1 arm native version of MultiMC), I had this crash on launch, so I downloaded the server files and installed it manually and same...
I've run into the same issue. I'm running with MultiMC 0.6.16 using nikhiljha's LWJGL patch to enable arm64.
This seems to be the interesting part of the log file (which I've also attached below):
Details:
Mod File: allthetweaks-1.9.4-1.18.2-40.1.0.jar
Failure message: All The Tweaks (allthetweaks) encountered an error during the common_setup event phase
java.lang.IllegalStateException: Rendersystem called from wrong thread
I checked this repo for the source code to AllTheTweaks (so I can try to fix this), but I can't find it. Is it open-source?
I'm going to try with Rosetta now. I'll update with whether or not that works.
I commented out these lines from AllTheTweaks, recompiled it, and replaced my copy. It seems to work now, and doesn't get stuck at
at com.thevortex.allthetweaks.proxy.MyCons.setWindowIcon(MyCons.java:68) ~[allthetweaks-1.9.4-1.18.2-40.1.0.jar%2367!/:1.9.4-1.18.2-40.1.0] {re:classloading}
I'm able to join servers, and I'm getting ~90-100 fps.
I'm not sure what those lines of code do, though, so this might just break stuff I don't know about. Also, the version of the mod compiled from GitHub seems to be older. It's version allthetweaks-1.9.0-1.18.2-40.1.0.jar
whereas the modpack downloaded allthetweaks-1.9.4-1.18.2-40.1.0.jar
. I should probably compile the 1.19.1 branch instead, which seems newer.
On second thought, the 1.19.1 branch is probably for Minecraft 1.19.1. Instead, I compiled the 1.18.2 branch (allthetweaks-1.9.8-1.18.2-40.1.60.jar
) with the change to MyCons.java
, and it's working.
I ran into another crash when I opened my AE2 terminal and scrolled down. Maybe there's an item that doesn't render properly.
It seems to be related to Twilight Forest shader bag rendering.
at org.lwjgl.opengl.ARBShaderObjects.glUseProgramObjectARB([email protected]+21/Native Method)
at twilightforest.client.shader.ShaderManager.useShader([email protected]/ShaderManager.java:128)
at twilightforest.compat.ie.ShaderBagItemModel.handlePerspective([email protected]/ShaderBagItemModel.java:156)
at net.minecraftforge.client.ForgeHooksClient.handleCameraTransforms([email protected]/ForgeHooksClient.java:440)
at net.minecraft.client.renderer.entity.ItemRenderer.m_115143_([email protected]/ItemRenderer.java:120)
at net.minecraft.client.renderer.entity.ItemRenderer.m_115127_([email protected]/ItemRenderer.java:258)
at net.minecraft.client.renderer.entity.ItemRenderer.m_115123_([email protected]/ItemRenderer.java:235)
at appeng.init.client.InitStackRenderHandlers$ItemKeyRenderHandler.drawInGui([email protected]/InitStackRenderHandlers.java:70)
at appeng.init.client.InitStackRenderHandlers$ItemKeyRenderHandler.drawInGui([email protected]/InitStackRenderHandlers.java:58)
at appeng.api.client.AEStackRendering.drawInGui([email protected]/AEStackRendering.java:94
Whenever this item appears on screen, the game crashes (I'm rendering in Rosetta for this screenshot). Interestingly, the 3D Twilight Forest trophies render just fine.
I'll see if I can reproduce this with just Twilight Forest installed, and I'll report it on the Twilight Forest repo if I can.
This is likely not related to AllTheTweaks, but I thought I'd post it here in case anyone else runs into it (or in case it is somehow related, although that seems very unlikely).