ZoeyTheEgoist / FabricMods

All my fabric mods.
MIT License
11 stars 4 forks source link

Crash cause by the mod #2

Closed HackX12 closed 3 years ago

HackX12 commented 3 years ago

Reading the crash report I saw it is related to this mod, although I don't quite understand what it is.

"Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Constant modifier method modifyFogEnd(F)F in scorch.mixins.json:BackgroundRendererMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap scorch-refmap.json"

Here's the full crash report:

---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem.

Time: 9/7/21, 2:10 PM Description: Unexpected error

org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at net.minecraft.class_310.method_1523(class_310.java:1103) at net.minecraft.class_310.method_1514(class_310.java:728) at net.minecraft.client.main.Main.main(Main.java:217) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Constant modifier method modifyFogEnd(F)F in scorch.mixins.json:BackgroundRendererMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap scorch-refmap.json at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:408) at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1291) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ... 16 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154)

-- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: No Packs: Default, Fabric Mods Stacktrace: at net.minecraft.class_6360.method_36565(class_6360.java:49) at net.minecraft.class_310.method_1587(class_310.java:2406) at net.minecraft.class_310.method_1514(class_310.java:752) at net.minecraft.client.main.Main.main(Main.java:217) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

ZoeyTheEgoist commented 3 years ago

Thanks for the report. I can't seem to reproduce this. Can you please let me know: 1) what version of Fabric you're using 2) if you're using Minecraft 1.17 or 1.17.1 3) what other mods you have installed

HackX12 commented 3 years ago

Thanks for the report. I can't seem to reproduce this. Can you please let me know:

  1. what version of Fabric you're using
  2. if you're using Minecraft 1.17 or 1.17.1
  3. what other mods you have installed

I'm using Fabric 0.11.6 for Minecraft 1.17.1 Here's the list of the mods I'm using

Additional Additions 2.1.2 Adorn 2.1.4 AdvancementPlaques 1.4.0 Appleskin 2.1.3 Architectury 2.5.27 Artificial Foliage 1.9 Awoken World 1.0.1 Balm 1.3.0 Better Copper 1.0.0 Better Third Person 1.5.0 Carrier 1.8.0 Cave enabler 1.0.0 Charm 3.3.2 cloth-api 2.0.54 cloth-config 5.0.38 Consistency Plus 0.4.0 Controlling 1.2.0 Couplings 1.5.1 Crafting Tweaks 13.0.0 Doggo mod 1.0.2 Earth2Java 1.7.3 Ext Shapes 1.2.5 Fabric API 0.40.0 fabric language kotlin 1.6.4 + kotlin.1.5.30 Voxel Map 1.10.15 Flytre Lib 1.3.7 Greater Eye 1.2.9 Illuminations 1.7 Immersive Portals 0.26 Improved Stations 2.0.7 Inmis 2.3.2 Inventorio 1.6.2 Levelz 1.0.5 Luminous Wool 1.1.1 ModMenu 2.0.10 Mouse Wheelie 1.7.3 Optifabric 1.11.20 Optifine 1.17.1 HD U G9 Overgrown Blocks 1.3 Paintings+ 1.0.0.1 Physics Mod 2.5.5 Repawnable Pets 1.17-3 This Rocks 1.4.0 REI 6.0.279 Alpha Salutem 1.2.1 Sentimentality 3 1.3.2 Skylor Lib 1.0.3 Stoneholm 1.3 TeenyCoal 1.0.0 The Graveyard 1.2 Villager Names 2.0.0 WhereIsIt 1.13.5 Wraith Waystones 2.0.4

ZoeyTheEgoist commented 3 years ago

Cheers! This list helped me identify the problem. When I saw you had Optifabric installed I had a feeling it would cause compatibility issues, which is exactly the case. I'll look into this and see if there's anything I can do on my end that will help ensure they're compatible.

ZoeyTheEgoist commented 3 years ago

The crash should now be fixed for Version 1.1.2. However, having OptiFabric installed will automatically disable the reduced fog feature of the mod in order to prevent the crash. This will be the case until I figure out how to make a BackgroundRenderer mixin without Optifine interfering with it.

HackX12 commented 3 years ago

Amazing! Thank you so much, I absolutely loved the mod and I can't wait to finally try it out.