Incompatibility with NightVisionFlashBeGone
Kichura opened this issue ยท 0 comments
Minecraft Version
Minecraft 1.17.1
Iris Version
iris-mc1.17-1.1.4-pre.jar
Sodium Version
sodium-fabric-mc1.17.1-0.3.3+build.818.jar
Operating System
KUbuntu 21.10
What is your GPU?
GTX 1070
Java Version
Java 18-EA
Reproduction Steps
- Have both sodium and iris (1.17.1 variants) installed,
- Have NightVisionFlashBeGone mod installed for 1.17.1,
- Try to start the game,
- Client should likely crash due to night vision mixins being incompatible.
Crash Report file and latest.log
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Description: Initializing game
java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_757 failed
at net.minecraft.class_4668.<clinit>(class_4668.java:125)
at net.minecraft.class_384.<init>(class_384.java:10)
at net.minecraft.class_377.<clinit>(class_377.java:27)
at net.minecraft.class_378.<init>(class_378.java:48)
at net.minecraft.class_310.<init>(class_310.java:527)
at net.minecraft.client.main.Main.main(Main.java:179)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_757 failed
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:252)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 17 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:247)
... 20 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.iris.json:MixinGameRenderer] from phase [DEFAULT] in config [mixins.iris.json] from mod [iris] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
... 23 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_757::iris$safecheckNightvisionStrength with priority 1000 cannot inject into net/minecraft/class_757::method_3174(Lnet/minecraft/class_1309;F)F merged by com.ashindigo.nvflashbegone.mixin.NVFlashBeGone with priority 1000 [PREINJECT Applicator Phase -> mixins.iris.json:MixinGameRenderer -> Prepare Injections -> -> handler$zim000$iris$safecheckNightvisionStrength(Lnet/minecraft/class_1309;FLorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Prepare]
at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305)
at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1338)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1043)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
... 23 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_4668.<clinit>(class_4668.java:125)
at net.minecraft.class_384.<init>(class_384.java:10)
at net.minecraft.class_377.<clinit>(class_377.java:27)
at net.minecraft.class_378.<init>(class_378.java:48)
at net.minecraft.class_310.<init>(class_310.java:527)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:179)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Linux (amd64) version 5.13.0-23-lowlatency
Java Version: 18-ea, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 1191695384 bytes (1136 MiB) / 1946157056 bytes (1856 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 5700G with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 80 Stepping 0
Microarchitecture: Zen 3
Frequency (GHz): 4.67
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: GP104 [GeForce GTX 1070]
Graphics card #0 vendor: NVIDIA Corporation (0x10de)
Graphics card #0 VRAM (MB): 288.00
Graphics card #0 deviceId: 0x1b81
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 16929.02
Virtual memory used (MB): 10247.00
Swap memory total (MB): 980.00
Swap memory used (MB): 0.00
JVM Flags: 3 total; -XX:+UseG1GC -Xms624m -Xmx4096m
Fabric Mods:
fabric: Fabric API 0.44.0+1.17
fabric-api-base: Fabric API Base 0.4.0+cf39a74318
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.4.0+cb9053d118
fabric-biome-api-v1: Fabric Biome API (v1) 3.2.2+cf39a74318
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+cf39a74318
fabric-command-api-v1: Fabric Command API (v1) 1.1.4+cf39a74318
fabric-commands-v0: Fabric Commands (v0) 0.2.3+cf39a74318
fabric-containers-v0: Fabric Containers (v0) 0.1.13+cf39a74318
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.1+3447790d18
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.6+cf39a74318
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.13+cf39a74318
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.1+377137cc18
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.12+e99fbe1218
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.4+cf39a74318
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.8+cf39a74318
fabric-item-api-v1: Fabric Item API (v1) 1.3.0+6617390918
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.2+cf39a74318
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.6+2a2bb57318
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.4+cf39a74318
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.6+0392f3a618
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.5+cf39a74318
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+cf39a74318
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.6+cf39a74318
fabric-models-v0: Fabric Models (v0) 0.3.1+cf39a74318
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.14+cf39a74318
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.12+cf39a74318
fabric-networking-v0: Fabric Networking (v0) 0.3.3+cf39a74318
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.0+f907116918
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.7+cf39a74318
fabric-particles-v1: Fabric Particles (v1) 0.2.5+cf39a74318
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.13+cf39a74318
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+cf39a74318
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.9+cf39a74318
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.6+cf39a74318
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+cf39a74318
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.2.1+cf39a74318
fabric-rendering-v0: Fabric Rendering (v0) 1.1.7+cf39a74318
fabric-rendering-v1: Fabric Rendering (v1) 1.10.1+377137cc18
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.10+f09604ce18
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.5+cf39a74318
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.9+cf39a74318
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.15+cf39a74318
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.3+cf39a74318
fabric-textures-v0: Fabric Textures (v0) 1.0.7+cf39a74318
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.2+cf39a74318
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.3+cf39a74318
fabricloader: Fabric Loader 0.12.12
iris: Iris 1.1.4-pre
java: OpenJDK 64-Bit Server VM 18
minecraft: Minecraft 1.17.1
nightvisionflashbegone: NightVisionFlashBeGone 1.1.0
org_anarres_jcpp: jcpp 1.4.14
org_joml_joml: joml 1.10.2
org_slf4j_slf4j-api: slf4j-api 1.7.12
sodium: Sodium 0.3.3+build.818
Launched Version: MultiMC5
Backend library: LWJGL version 3.3.0 build 21
Backend API: NVIDIA GeForce GTX 1070/PCIe/SSE2 GL version 3.2.0 NVIDIA 495.46, NVIDIA Corporation
Window size: <not initialized>
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: <disabled>
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU: 16x AMD Ryzen 7 5700G with Radeon Graphics
Additional context
Currently the mod that was mentioned in title was supposed to cause night vision to fade away upon expiration instead of disappearing instantly upon timer reaching zero.
Besides; the previous build of iris before 5d88091 in the 1.17.x branch has allowed both mods to run without issues.