Fusion (Connected Textures)

Fusion (Connected Textures)

27M Downloads

[Crash] @ModifyVariable annotation on create could not find any targets

OrigamiMarie opened this issue ยท 6 comments

commented

Version Info

  • Minecraft Version: 1.20.4
  • Fusion Version: 1.1.0+c
  • Fabric API: 0.95.3+1.20.4
  • Fabric Loader: 0.15.6
  • Indium 1.0.28+mc1.20.4
  • Iris: 1.6.14
  • Sodium: 0.5.5

Are you using OptiFine: No (I am using Sodium / Indium / Iris)

Steps to Reproduce
Game launch crash

Crash report (~/logs/latest.log)
[14:42:14] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.6
[14:42:15] [main/INFO]: Loading 63 mods:
- fabric-api 0.95.3+1.20.4
|-- fabric-api-base 0.4.36+78d798af4f
|-- fabric-api-lookup-api-v1 1.6.48+82b1bb3e4f
|-- fabric-biome-api-v1 13.0.16+78d798af4f
|-- fabric-block-api-v1 1.0.16+3e2216cb4f
|-- fabric-block-view-api-v2 1.0.4+78d798af4f
|-- fabric-blockrenderlayer-v1 1.1.46+78d798af4f
|-- fabric-client-tags-api-v1 1.1.7+78d798af4f
|-- fabric-command-api-v1 1.2.41+f71b366f4f
|-- fabric-command-api-v2 2.2.20+78d798af4f
|-- fabric-commands-v0 0.2.58+df3654b34f
|-- fabric-containers-v0 0.1.86+df3654b34f
|-- fabric-content-registries-v0 5.0.11+78d798af4f
|-- fabric-convention-tags-v1 1.5.10+78d798af4f
|-- fabric-crash-report-info-v1 0.2.23+78d798af4f
|-- fabric-data-attachment-api-v1 1.0.1+25e1b4764f
|-- fabric-data-generation-api-v1 13.2.0+5c0133444f
|-- fabric-dimensions-v1 2.1.61+78d798af4f
|-- fabric-entity-events-v1 1.6.0+44c0f8c64f
|-- fabric-events-interaction-v0 0.7.1+389931eb4f
|-- fabric-events-lifecycle-v0 0.2.73+df3654b34f
|-- fabric-game-rule-api-v1 1.0.46+78d798af4f
|-- fabric-item-api-v1 2.2.0+d6f2b0844f
|-- fabric-item-group-api-v1 4.0.22+78d798af4f
|-- fabric-key-binding-api-v1 1.0.41+78d798af4f
|-- fabric-keybindings-v0 0.2.39+df3654b34f
|-- fabric-lifecycle-events-v1 2.2.31+eabbae364f
|-- fabric-loot-api-v2 2.1.6+78d798af4f
|-- fabric-message-api-v1 6.0.5+78d798af4f
|-- fabric-mining-level-api-v1 2.1.61+78d798af4f
|-- fabric-model-loading-api-v1 1.0.8+78d798af4f
|-- fabric-models-v0 0.4.7+9386d8a74f
|-- fabric-networking-api-v1 3.1.7+2e5ac5484f
|-- fabric-object-builder-api-v1 13.0.10+06274a474f
|-- fabric-particles-v1 1.1.7+78d798af4f
|-- fabric-recipe-api-v1 2.0.20+78d798af4f
|-- fabric-registry-sync-v0 4.0.18+78d798af4f
|-- fabric-renderer-api-v1 3.2.4+78d798af4f
|-- fabric-renderer-indigo 1.5.4+78d798af4f
|-- fabric-renderer-registries-v1 3.2.52+df3654b34f
|-- fabric-rendering-data-attachment-v1 0.3.42+73761d2e4f
|-- fabric-rendering-fluids-v1 3.0.33+78d798af4f
|-- fabric-rendering-v0 1.1.55+df3654b34f
|-- fabric-rendering-v1 3.1.0+0d29db764f
|-- fabric-resource-conditions-api-v1 2.3.14+78d798af4f
|-- fabric-resource-loader-v0 0.11.17+707e4d1b4f
|-- fabric-screen-api-v1 2.0.17+78d798af4f
|-- fabric-screen-handler-api-v1 1.3.55+78d798af4f
|-- fabric-sound-api-v1 1.0.17+78d798af4f
|-- fabric-transfer-api-v1 4.0.9+e84342304f
-- fabric-transitive-access-wideners-v1 5.0.14+78d798af4f
- fabricloader 0.15.6
-- mixinextras 0.3.2
- fusion 1.1.0+c
- indium 1.0.28+mc1.20.4
- iris 1.6.14
|-- io_github_douira_glsl-transformer 2.0.0-pre13
|-- org_anarres_jcpp 1.4.14
-- org_antlr_antlr4-runtime 4.11.1
- java 17
- minecraft 1.20.4
- origamimarie_mod 2.0.0
- sodium 0.5.5
[14:42:15] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/origa/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[14:42:15] [main/INFO]: Compatibility level set to JAVA_17
[14:42:15] [main/INFO]: Loaded configuration file for Sodium: 42 options available, 3 override(s) found
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.entity.CuboidMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.entity.ModelPartMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.entity.cull.EntityRendererMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.entity.shadows.EntityRenderDispatcherMixin' as rule 'mixin.features.render.entity' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.gui.font.GlyphRendererMixin' as rule 'mixin.features.render.gui.font' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.world.sky.BackgroundRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.world.sky.ClientWorldMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[14:42:16] [main/WARN]: Force-disabling mixin 'features.render.world.sky.WorldRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[14:42:16] [main/INFO]: Searching for graphics cards...
[14:42:16] [main/INFO]: Found graphics card: GraphicsAdapterInfo[vendor=NVIDIA, name=NVIDIA GeForce RTX 2080, version=DriverVersion=31.0.15.3623]
[14:42:16] [main/WARN]: Sodium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS]
[14:42:16] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver.
[14:42:16] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.2).
[14:42:21] [Datafixer Bootstrap/INFO]: 198 Datafixer optimizations took 140 milliseconds
[14:42:23] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[14:42:23] [Render thread/INFO]: Setting user: OrigamiMarie
[14:42:24] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[14:42:24] [Render thread/ERROR]: Mixin apply for mod fusion failed fusion.mixins.json:ModNioResourcePackMixin from mod fusion -> net.fabricmc.fabric.impl.resource.loader.ModNioResourcePack: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @ModifyVariable annotation on create could not find any targets matching 'Lnet/fabricmc/fabric/impl/resource/loader/ModNioResourcePack;create(Ljava/lang/String;Lnet/fabricmc/loader/api/ModContainer;Ljava/lang/String;Lnet/minecraft/class_3264;Lnet/fabricmc/fabric/api/resource/ResourcePackActivationType;)Lnet/fabricmc/fabric/impl/resource/loader/ModNioResourcePack;' in net.fabricmc.fabric.impl.resource.loader.ModNioResourcePack. Using refmap fusion.mixins.refmap.json [PREINJECT Applicator Phase -> fusion.mixins.json:ModNioResourcePackMixin from mod fusion -> Prepare Injections -> -> localvar$zmi000$fusion$create(Ljava/util/List;Ljava/lang/String;Lnet/fabricmc/loader/api/ModContainer;Ljava/lang/String;Lnet/minecraft/class_3264;)Ljava/util/List; -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @ModifyVariable annotation on create could not find any targets matching 'Lnet/fabricmc/fabric/impl/resource/loader/ModNioResourcePack;create(Ljava/lang/String;Lnet/fabricmc/loader/api/ModContainer;Ljava/lang/String;Lnet/minecraft/class_3264;Lnet/fabricmc/fabric/api/resource/ResourcePackActivationType;)Lnet/fabricmc/fabric/impl/resource/loader/ModNioResourcePack;' in net.fabricmc.fabric.impl.resource.loader.ModNioResourcePack. Using refmap fusion.mixins.refmap.json [PREINJECT Applicator Phase -> fusion.mixins.json:ModNioResourcePackMixin from mod fusion -> Prepare Injections -> -> localvar$zmi000$fusion$create(Ljava/util/List;Ljava/lang/String;Lnet/fabricmc/loader/api/ModContainer;Ljava/lang/String;Lnet/minecraft/class_3264;)Ljava/util/List; -> Parse]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:316) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:308) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.ModifyVariableInjectionInfo.(ModifyVariableInjectionInfo.java:45) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1329) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.6.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at net.fabricmc.fabric.impl.resource.loader.ModResourcePackUtil.appendModResourcePacks(ModResourcePackUtil.java:81) ~[fabric-resource-loader-v0-0.11.1+707e4d1b4f-e65021c61f039e1c.jar:?]
at net.fabricmc.fabric.impl.resource.loader.ModResourcePackCreator.registerModPack(ModResourcePackCreator.java:118) ~[fabric-resource-loader-v0-0.11.1+707e4d1b4f-e65021c61f039e1c.jar:?]
at net.fabricmc.fabric.impl.resource.loader.ModResourcePackCreator.method_14453(ModResourcePackCreator.java:104) ~[fabric-resource-loader-v0-0.11.1+707e4d1b4f-e65021c61f039e1c.jar:?]
at net.minecraft.class_315.handler$zla000$fabric-resource-loader-v0$onLoad(class_315.java:2897) ~[client-intermediary.jar:?]
at net.minecraft.class_315.method_1636(class_315.java:1498) ~[client-intermediary.jar:?]
at net.minecraft.class_315.(class_315.java:1253) ~[client-intermediary.jar:?]
at net.minecraft.class_310.(class_310.java:489) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:223) ~[fabric-loader-0.15.6-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.6.jar:?]

commented

Caused by fabric api 0.95.3
downgrading to 0.95.1 works

commented

Indeed! Thank you :)

commented

@OrigamiMarie why close this? Isn't this still an issue that'll need to be fixed in Fusion?

commented

@Poopooracoocoo Oh! I thought this was considered a user error.

commented

Downgraded Fabric to 0.95.1 but still crashes

commented

This is caused by Sodium 0.5.8, no clue why.
I added a workaround for it in Fusion version 1.1.0d.

Thank you for reporting the issue!