Pehkui

Pehkui

35M Downloads

[Bug]: Crash if i delete mods from my pack

Chuunkyz opened this issue ยท 2 comments

commented

Minecraft version(s)

1.17.1

Minecraft version details

1.17.1

Mod loader

Fabric

Mod loader version

0.11.6

Fabric API version

0.40.1

In what environment did the problem occur?

My singleplayer world

What went wrong? (Crash logs don't go here)

I wanted to remove mods from my pack, and when i remove mods like Foodables or Emerald Geodes (nothing to do with pehkui) i got a crash when i launch the game

Full list of installed mods

can't put everything but here's the link to my pack
https://www.curseforge.com/minecraft/modpacks/benchmark
0.1.3 version btw

Did the problem cause the game to crash?

Yes. (paste crash report below)

Full crash report contents (if you experienced a crash)

Crash report output:

[17:47:49] [main/FATAL]: Mixin apply failed pehkui.mixins.json:client.compat116plus.InGameHudMixin -> net.minecraft.class_329: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Implicit variable modifier injection failed in net/minecraft/class_329::onRenderStatusBars [INJECT Applicator Phase -> pehkui.mixins.json:client.compat116plus.InGameHudMixin -> Apply Injections -> -> Inject -> pehkui.mixins.json:client.compat116plus.InGameHudMixin->@ModifyVariable::onRenderStatusBars(F)F] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Implicit variable modifier injection failed in net/minecraft/class_329::onRenderStatusBars [INJECT Applicator Phase -> pehkui.mixins.json:client.compat116plus.InGameHudMixin -> Apply Injections -> -> Inject -> pehkui.mixins.json:client.compat116plus.InGameHudMixin->@ModifyVariable::onRenderStatusBars(F)F] at Not Enough Crashes deobfuscated stack trace.(1.17.1+build.61) ~[?:?] at org.spongepowered.asm.mixin.injection.modify.ModifyVariableInjector.inject(ModifyVariableInjector.java:169) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:264) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:385) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1284) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) ~[fabric-loader-0.11.6.jar:0.9.4+mixin.0.8.2] at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) ~[fabric-loader-0.11.6.jar:?] at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) ~[fabric-loader-0.11.6.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?] at java.lang.Class.getDeclaredFields0(Native Method) ~[?:?] at java.lang.Class.privateGetDeclaredFields(Class.java:3229) ~[?:?] at java.lang.Class.getDeclaredFields(Class.java:2335) ~[?:?] at net.optifine.reflect.FieldLocatorTypes.(FieldLocatorTypes.java:25) ~[Optifine-mapped.jar:?] at net.optifine.reflect.Reflector.(Reflector.java:518) ~[Optifine-mapped.jar:?] at net.minecraft.util.crash.CrashReport.(CrashReport:45) ~[?:?] at net.minecraft.util.crash.CrashReport.initCrashReport(CrashReport:351) ~[?:?] at net.minecraft.client.main.Main.main(Main:137) [intermediary-Fabric%201.17.1.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?] at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?] Caused by: org.spongepowered.asm.mixin.injection.modify.InvalidImplicitDiscriminatorException: Found 3 candidate variables but exactly 1 is required. at org.spongepowered.asm.mixin.injection.modify.LocalVariableDiscriminator.findImplicitLocal(LocalVariableDiscriminator.java:349) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.injection.modify.LocalVariableDiscriminator.findLocal(LocalVariableDiscriminator.java:320) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] at org.spongepowered.asm.mixin.injection.modify.ModifyVariableInjector.inject(ModifyVariableInjector.java:160) ~[sponge-mixin-0.9.4+mixin.0.8.2.jar:0.9.4+mixin.0.8.2] ... 30 more

commented

That version of the pack is using an older version of Pehkui (2.2.1). That particular crash has since been fixed. Update Pehkui to 2.4.0.

commented

thanx !