Quark icon indicating copy to clipboard operation
Quark copied to clipboard

Quark Crashing on load

Open ixRaiin opened this issue 2 years ago • 6 comments

My game crashes as it loads into the game and I don't know what mod is causing the issue. crash-2022-05-01_05.41.01-client.txt

ixRaiin avatar May 01 '22 02:05 ixRaiin

I bet on pure minecraft, the same thing.

sssHpion007 avatar May 06 '22 04:05 sssHpion007

usual I would say the same. looks like a java problem. but I got the same, its working in pure minecraft and with many mods. first when I add quark I am getting the excat same error log. I was testing the java from my system and those that comes with minecraft. I also tryed all quark versions for 1.18.2. I was trying multimc and the vanilla launcher. I found out it happens when you dont add AutoRegLib (I forgot it) and try to load quark alone. when I am adding AutoRegLib it works fine on the vanilla launcher. multi mc is also working after removing old java arguments and other settings. crash-Vanilla without autoreglib-client.txt crash-multimc without autoreglib.txt please add dependency to autoreglib that the game is telling you are missing autoreglib. saves time.

LordGriefington avatar May 06 '22 22:05 LordGriefington

We do. I don't know why it isn't showing that.

yrsegal avatar May 07 '22 13:05 yrsegal

I looked into this issue a bit and it seems the game crashes because of Quark's mixins. If a dependency is missing, Forge will not load the mod itself, however mixins do still get applied.


In this case, Minecraft calls ItemStack#getRarity at some point during client start up. The ItemStackMixin class adds the following line to that method: https://github.com/VazkiiMods/Quark/blob/300425ca25ecfc5e49dbcd17ab57426c311bcfcb/src/main/java/vazkii/quark/mixin/ItemStackMixin.java#L24 This line references the AncientTomesModule class which in turn ends up trying to load vazkii.arl.item.BasicItem from AutoRegLib, thus leading to the crash.


ItemStackMixin#getRarity happens to be the first mixin called leading to such a crash, however I would expect other mixins may also have this problem.

SuperMartijn642 avatar May 17 '22 20:05 SuperMartijn642

That seems... like bad design. I don't know how we'd resolve that issue with our mixins...

yrsegal avatar May 22 '22 11:05 yrsegal

I have the same problem but only when i use forge optifine, however i only can play in forge crash-2022-06-23_12.02.06-client.txt

RJHG56 avatar Jun 23 '22 17:06 RJHG56