Quark Oddities

Quark Oddities

22M Downloads

Quark Crashing on load

ixRaiin opened this issue ยท 6 comments

commented

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

commented

I bet on pure minecraft, the same thing.

commented

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.

commented

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

commented

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:

callbackInfoReturnable.setReturnValue(AncientTomesModule.shiftRarity((ItemStack) (Object) this, callbackInfoReturnable.getReturnValue()));

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.

commented

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

commented

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